summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/issue_db.py
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar/issue_db.py')
-rw-r--r--fatcat_scholar/issue_db.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/fatcat_scholar/issue_db.py b/fatcat_scholar/issue_db.py
index 320c98d..8771f7f 100644
--- a/fatcat_scholar/issue_db.py
+++ b/fatcat_scholar/issue_db.py
@@ -38,8 +38,8 @@ class SimPubRow:
self.wikidata_qid,
)
- @classmethod
- def from_tuple(cls, row: Any) -> "SimPubRow":
+ @staticmethod
+ def from_tuple(row: Any) -> "SimPubRow":
return SimPubRow(
sim_pubid=row[0],
pub_collection=row[1],
@@ -82,8 +82,8 @@ class SimIssueRow:
self.release_count,
)
- @classmethod
- def from_tuple(cls, row: Any) -> "SimIssueRow":
+ @staticmethod
+ def from_tuple(row: Any) -> "SimIssueRow":
return SimIssueRow(
issue_item=row[0],
sim_pubid=row[1],