Navigation | Overlay |
---|---|
t Navigate files | h Toggle hits |
y Change url to tip of branch | m Toggle misses |
b / v Jump to prev/next hit line | p Toggle partial |
z / x Jump to prev/next missed or partial line | 1..9 Toggle flags |
shift + o Open current page in GitHub | a Toggle all on |
/ or ? Show keyboard shortcuts dialog | c Toggle context lines or commits |
1 | 6 |
from django_elasticsearch_dsl_drf.serializers import DocumentSerializer |
2 |
|
|
3 | 6 |
from cyborgbackup.elasticsearch.documents.catalogs import CatalogDocument |
4 |
|
|
5 |
|
|
6 | 6 |
class ESCatalogDocumentSerializer(DocumentSerializer): |
7 |
|
|
8 | 6 |
class Meta: |
9 | 6 |
document = CatalogDocument |
10 | 6 |
fields = ( |
11 |
'path', |
|
12 |
'archive_name', |
|
13 |
'job', |
|
14 |
'owner', |
|
15 |
'group', |
|
16 |
'size', |
|
17 |
'mtime', |
|
18 |
'healthy', |
|
19 |
'mode'
|
|
20 |
)
|
Read our documentation on viewing source code .