Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
mki-c2c committed Jan 27, 2025
1 parent 8e05531 commit 7647e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonetwork/gn_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def _get_version(self):
logger.info("GN API Session started with geonetwork server version %s", version)
return resp

def get_record_zip(self, uuid: str) -> bytes:
def get_record_zip(self, uuid: str) -> IO[bytes]:
"""
retrieve the metadata for `uuid` as a zip archive including linked media.
:param uuid: uuid of the metadata
Expand Down

0 comments on commit 7647e1e

Please sign in to comment.