diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-07-27 18:57:09 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-07-27 18:57:09 -0700 |
commit | f3481c02bd7a50d9073902dba07fe265eecb93db (patch) | |
tree | 1865a469f1713ef6e3d18d45f736c515f0b542ee /python/fatcat_tools | |
parent | fa2ba60834cf3cb3edea05af3c1830e6fc0d5bcc (diff) | |
download | fatcat-f3481c02bd7a50d9073902dba07fe265eecb93db.tar.gz fatcat-f3481c02bd7a50d9073902dba07fe265eecb93db.zip |
refs: lint fixes
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r-- | python/fatcat_tools/references.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_tools/references.py b/python/fatcat_tools/references.py index 508cf19d..496a46e1 100644 --- a/python/fatcat_tools/references.py +++ b/python/fatcat_tools/references.py @@ -99,6 +99,7 @@ class EnrichedBiblioRef(BaseModel): access: List[AccessOption] @validator('release') + @classmethod def check_release(cls, v): if v is not None and not isinstance(v, ReleaseEntity): raise ValueError("expected a ReleaseEntity") |