"""Utils package for cdp_data."""fromgcsfsimportGCSFileSystemfrom.db_utilsimportconnect_to_databasefrom.fs_utilsimportconnect_to_filestore
[docs]defconnect_to_infrastructure(infrastructure_slug:str)->GCSFileSystem:""" Simple function to shorten how many imports and code it takes to connect to a CDP infrastructure. """connect_to_database(infrastructure_slug)returnconnect_to_filestore(infrastructure_slug)