hipscat.catalog.dataset.base_catalog_info
#
Module Contents#
Classes#
Container class for catalog metadata |
- class BaseCatalogInfo[source]#
Container class for catalog metadata
- catalog_type: hipscat.catalog.catalog_type.CatalogType | None[source]#
- DEFAULT_TYPE[source]#
The default catalog type for this catalog info type. To be overridden by subclasses. If specified, we will use this value when no catalog_type is provided.
- REQUIRED_TYPE[source]#
The required catalog type for this catalog info type. To be overridden by subclasses. If specified, the catalog MUST have this type.
- classmethod read_from_metadata_file(catalog_info_file: hipscat.io.FilePointer, storage_options: Dict[Any, Any] | None = None) typing_extensions.Self [source]#
Read catalog info from the catalog_info.json metadata file
- Parameters:
catalog_info_file – FilePointer pointing to the catalog_info.json file
storage_options – dictionary that contains abstract filesystem credentials
- Returns:
A CatalogInfo object with the data from the catalog_info.json file