CatalogEntry

class geodetic_engine.catalog.CatalogEntry[source]

Bases: object

Anything a Listing holds.

Every entry exports itself two ways: to_json_dict(), its full definition, and to_summary_dict(), the item it contributes to a listing’s JSON.

to_json_dict()[source]

The entry’s full definition as JSON.

Return type:

dict[str, Any]

to_json(*, indent=2)[source]

to_json_dict() as text.

Parameters:

indent (int | None, default: 2) – Indentation, or None for one line.

Return type:

str

to_summary_dict()[source]

The entry as one item of a listing’s JSON.

Return type:

dict[str, Any]

__init__()