diff options
| author | adamhrv <adam@ahprojects.com> | 2019-02-10 20:39:03 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-02-10 20:39:03 +0100 |
| commit | 14727041f2b54dea9a37ff6e2dfef161b6243556 (patch) | |
| tree | 62ba1aef6eb80900e67c5cc344300eefbf720ced /megapixels/app/models/citations.py | |
| parent | d213702d4baf7a8c776ef71383346c0d6402106a (diff) | |
add csv converter for citations
Diffstat (limited to 'megapixels/app/models/citations.py')
| -rw-r--r-- | megapixels/app/models/citations.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/megapixels/app/models/citations.py b/megapixels/app/models/citations.py new file mode 100644 index 00000000..b0e02fc7 --- /dev/null +++ b/megapixels/app/models/citations.py @@ -0,0 +1,17 @@ +from dataclasses import dataclass +from dataclasses import dataclass +from mashumaro import DataClassJSONMixin + +@dataclass +class Paper(DataClassJSONMixin): + key: str + dataset_name: str + paper_id: str + title: str + paper_type: str + year: int + paper_url: str = '' + loc: str = '' + loc_type: str = '' + lat: float = 0.0 + lng: float = 0.0
\ No newline at end of file |
