in osci/datalake/datalake.py [0:0]
def __init__(self):
fs_to_data_lake: Mapping[str, Callable[[], Tuple[BaseLandingArea, BlobStagingArea, BlobPublicArea]]] = {
FileSystemType.blob: self.__get_blob_data_lakes,
FileSystemType.local: self.__get_local_data_lakes,
}
fs_to_web_area: Mapping[str, Type[BaseWebArea]] = {
FileSystemType.blob: BlobWebArea,
FileSystemType.local: LocalWebArea,
}
self.landing, self.staging, self.public = fs_to_data_lake[Config().file_system_type]()
self.web = fs_to_web_area[Config().web_config.fs](**Config().web_config.attrs)
self.big_query = BigQuery(project=Config().bq_project, client_secrets=Config().bq_secret)