Skip to content

Commit

Permalink
Trim comment and correct response 📧
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezzsim committed Feb 1, 2024
1 parent 63ed99b commit 795e415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions databroker/mongo_normalized.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,10 +471,10 @@ def metadata(self):

async def update_metadata(self, metadata=None, specs=None):
if("descriptors" not in metadata):
raise NotImplementedError('update_metadata method not implemented')
raise NotImplementedError('Update_metadata method requires descriptors.')
# Update descriptors
for descriptor in metadata["descriptors"]:
self.serializer.update("descriptor", descriptor) # self._serializer.update("stop", metadata["stop"])
self.serializer.update("descriptor", descriptor)


def new_variation(self, **kwargs):
Expand Down

0 comments on commit 795e415

Please sign in to comment.