diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-14 20:15:37 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-14 20:15:37 -0800 |
commit | 65406d42f00c5564499bfd54b5940f22ecc53ed0 (patch) | |
tree | ca424309a50f71d8b58cc088beadda34b961d165 | |
parent | 9d000e111198b43e42e09c142fcccaf96a60224e (diff) | |
download | fatcat-scholar-65406d42f00c5564499bfd54b5940f22ecc53ed0.tar.gz fatcat-scholar-65406d42f00c5564499bfd54b5940f22ecc53ed0.zip |
schema: make fulltext body optional (eg, for search results)
-rw-r--r-- | fatcat_scholar/schema.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/schema.py b/fatcat_scholar/schema.py index 3d74ca4..4c6afe7 100644 --- a/fatcat_scholar/schema.py +++ b/fatcat_scholar/schema.py @@ -107,7 +107,7 @@ class ScholarBiblio(BaseModel): class ScholarFulltext(BaseModel): lang_code: Optional[str] - body: str + body: Optional[str] acknowledgement: Optional[str] annex: Optional[str] release_ident: Optional[str] |