Skip to content

Commit

Permalink
Add .structure() to mongo_normalized adapters
Browse files Browse the repository at this point in the history
This is now required by Tiled since v0.1.0a117
  • Loading branch information
padraic-shafer committed Apr 13, 2024
1 parent 5be59a7 commit 995cc95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions databroker/mongo_normalized.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,9 @@ def __init__(
def metadata(self):
return self._metadata

def structure(self):
return None

def keys(self):
return self._contents.keys()

Expand Down Expand Up @@ -1418,6 +1421,9 @@ def metadata(self):
"Metadata about this MongoAdapter."
return self._metadata

def structure(self):
return None

@property
def sorting(self):
return list(self._sorting)
Expand Down

0 comments on commit 995cc95

Please sign in to comment.