Skip to content

Commit

Permalink
Fix sqlalchemy cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jieguangzhou committed Jan 7, 2025
1 parent 5880156 commit c2c109a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/sqlalchemy/superduper_sqlalchemy/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_metadata_by_identifier(self, type_id, identifier, version):
return None
if version is None:
version = max(metadata.keys())
return metadata[version]
return metadata.get(version)

def update_metadata(self, metadata):
self.add_metadata(metadata)
Expand Down

0 comments on commit c2c109a

Please sign in to comment.