Skip to content

Commit

Permalink
Merge branch 'master' into mapping_update
Browse files Browse the repository at this point in the history
  • Loading branch information
ssssarah authored Oct 16, 2023
2 parents 58bcd06 + ee54140 commit 253f6cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kgforge/specializations/stores/demo_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def retrieve(self, id: str, version: Optional[Union[int, str]],

# CR[U]D.

def _update_one(self, resource: Resource) -> None:
def _update_one(self, resource: Resource, schema_id: str) -> None:
data = as_json(resource, expanded=False, store_metadata=False, model_context=None,
metadata_context=None, context_resolver=None)
try:
Expand Down Expand Up @@ -138,7 +138,6 @@ def _initialize_service(self, endpoint: Optional[str], bucket: Optional[str],
token: Optional[str], searchendpoints:Optional[Dict]):
return StoreLibrary()


def _to_resource(record: Dict) -> Resource:
# TODO This operation might be abstracted in core when other stores will be implemented.
resource = from_json(record["data"], None)
Expand Down

0 comments on commit 253f6cd

Please sign in to comment.