From 44c0847758bd4326c168ce8b95cd3dbfdf9b5062 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Sat, 14 Dec 2019 18:18:31 +0100 Subject: complete parse_record docstring --- python/fatcat_tools/importers/common.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'python/fatcat_tools/importers') diff --git a/python/fatcat_tools/importers/common.py b/python/fatcat_tools/importers/common.py index c9648173..073725ad 100644 --- a/python/fatcat_tools/importers/common.py +++ b/python/fatcat_tools/importers/common.py @@ -320,6 +320,12 @@ class EntityImporter: return def parse_record(self, raw_record): + """ + Returns an entity class type, or None if we should skip this one. + + May have side-effects (eg, create related entities), but shouldn't + update/mutate the actual entity. + """ # implementations should fill this in raise NotImplementedError -- cgit v1.2.3