def __init__(self, db, metadata_type_resource):
    '\n        :type db: datacube.index.postgres._api.PostgresDb\n        :type metadata_type_resource: MetadataTypeResource\n        '
    self._db = db
    self.metadata_type_resource = metadata_type_resource
:type db: datacube.index.postgres._api.PostgresDb
:type metadata_type_resource: MetadataTypeResource
def __init__(self, db, metadata_type_resource):
    '\n        :type db: datacube.index.postgres._api.PostgresDb\n        :type metadata_type_resource: MetadataTypeResource\n        '
    self._db = db
    self.metadata_type_resource = metadata_type_resource