CatalogDownload

class geodetic_engine.osdudb.CatalogDownload[source]

Bases: object

The official OSDU catalogue, downloaded and verified.

path

Where the catalogue is.

url

The API endpoint it was read from.

ref

The revision that was asked for.

commit

The commit that last changed the file at that revision, as the server reported it.

sha256

Hex SHA-256 of the file.

changed

Whether the file at path changed. False when the copy already there is the one downloaded.

__init__(path, url, ref, commit, sha256, changed)