Utilities#

ocdsextensionregistry.util.json_dump(data, io)[source]#

Dumps JSON to a file-like object.

ocdsextensionregistry.util.get_latest_version(versions)[source]#

Returns the identifier of the latest version from a list of versions of the same extension.

Raises:

UnknownLatestVersion – if the latest version of the extension can’t be determined