def __init__(self, db, dataset_type_resource):
    '\n        :type db: datacube.index.postgres._api.PostgresDb\n        :type dataset_type_resource: datacube.index._datasets.DatasetTypeResource\n        '
    self._db = db
    self.types = dataset_type_resource
:type db: datacube.index.postgres._api.PostgresDb
:type dataset_type_resource: datacube.index._datasets.DatasetTypeResource
def __init__(self, db, dataset_type_resource):
    '\n        :type db: datacube.index.postgres._api.PostgresDb\n        :type dataset_type_resource: datacube.index._datasets.DatasetTypeResource\n        '
    self._db = db
    self.types = dataset_type_resource