@@ -128,7 +128,7 @@ class ShareV2ElasticDeriver(IndexcardDeriver):
128128 # abstract method from IndexcardDeriver
129129 @staticmethod
130130 def deriver_iri () -> str :
131- return SHAREv2 .sharev2_elastic # type: ignore
131+ return SHAREv2 .sharev2_elastic # type: ignore
132132
133133 # abstract method from IndexcardDeriver
134134 @staticmethod
@@ -152,7 +152,7 @@ def should_skip(self) -> bool:
152152 def derive_card_as_text (self ) -> str :
153153 _suid = self .upriver_rdf .indexcard .source_record_suid
154154 try : # maintain doc id in the sharev2 index
155- _suid = _suid .get_backcompat_sharev2_suid () # type: ignore
155+ _suid = _suid .get_backcompat_sharev2_suid () # type: ignore
156156 except share_db .SourceUniqueIdentifier .DoesNotExist :
157157 pass # ok, use the actual suid
158158 _source_name = _suid .source_config .source .long_title
@@ -163,7 +163,7 @@ def derive_card_as_text(self) -> str:
163163 'id' : IDObfuscator .encode (_suid ),
164164 'indexcard_id' : self .upriver_rdf .indexcard .id ,
165165 'rawdatum_id' : self .upriver_rdf .from_raw_datum_id ,
166- 'date_created' : _suid .get_date_first_seen ().isoformat (), # type: ignore
166+ 'date_created' : _suid .get_date_first_seen ().isoformat (), # type: ignore
167167 'date_modified' : self .upriver_rdf .modified .isoformat (),
168168 'sources' : [_source_name ],
169169 'source_config' : _suid .source_config .label ,
@@ -271,7 +271,7 @@ def _osf_related_resource_types(self) -> dict[str, bool]:
271271 for _key , _pred in _osf_artifact_types .items ()
272272 }
273273
274- def _related_agent_list (self , * predicate_iris : str , focus_iri : Optional [str ]= None ) -> List [Dict [str , Any ]]:
274+ def _related_agent_list (self , * predicate_iris : str , focus_iri : Optional [str ] = None ) -> List [Dict [str , Any ]]:
275275 _agent_list = []
276276 for _predicate_iri in predicate_iris :
277277 _agent_iri_iter = self .data .q (
0 commit comments