1.2.1. insupdel4stac.connector module#
- class insupdel4stac.connector.Connector(service: str = 'pgstac', pgstac_properties: dict = {}, stacapi_properties: dict = {})[source]#
Bases:
objectThis class provides access to the loader and PgstacDB. Conversely, it also affords the opportunity to configure the connection to the database and API. The setup can be achieved through the utilization of either environment variables and constant variables, or by utilizing
pgstac_propertiesorstacapi_properties.- Parameters:
- PgstacDB: PgstacDB#
- loader: Loader#
- pgstac_properties: dict#
To learn more about constructing the dictionary, see
pgstac_properties.
- service: str#
For more information see
service_type.
- stacapi_properties: dict#
To learn more about constructing the dictionary, see
stacapi_properties.