Exemplo n.º 1
0
 def get_catalog(self) -> ConfiguredAirbyteCatalog:
     return ConfiguredAirbyteCatalog.parse_raw(pkgutil.get_data(self.__class__.__module__.split(".")[0], "catalog_subset.json"))
Exemplo n.º 2
0
 def _read_catalog(path):
     return ConfiguredAirbyteCatalog.parse_raw(open(path, "r").read())