aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/schema.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-06 16:15:10 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-06 19:01:12 -0700
commit45a33f49d111d929d4b24321af94060b1942f7ba (patch)
treec29edb409b33ea6174f8541d5e3e913bb6189eb3 /fatcat_scholar/schema.py
parent4a45f3aa1b5ed21dafec42ded23c300d51189e91 (diff)
downloadfatcat-scholar-45a33f49d111d929d4b24321af94060b1942f7ba.tar.gz
fatcat-scholar-45a33f49d111d929d4b24321af94060b1942f7ba.zip
volume_int/issue_int as actual ints
Diffstat (limited to 'fatcat_scholar/schema.py')
-rw-r--r--fatcat_scholar/schema.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_scholar/schema.py b/fatcat_scholar/schema.py
index fb3de10..e369d11 100644
--- a/fatcat_scholar/schema.py
+++ b/fatcat_scholar/schema.py
@@ -66,9 +66,9 @@ class ScholarBiblio(BaseModel):
lang_code: Optional[str]
country_code: Optional[str]
volume: Optional[str]
- volume_int: Optional[str] # TODO: needed?
+ volume_int: Optional[int] # TODO: needed?
issue: Optional[str]
- issue_int: Optional[str] # TODO: needed?
+ issue_int: Optional[int] # TODO: needed?
pages: Optional[str]
first_page: Optional[str]
first_page_int: Optional[int] # TODO: needed?