Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, log, **kwargs):
super(GCSFS, self).__init__(**kwargs)
self.log = log
token = os.path.expanduser(self.token)
self.fs = gcsfs.GCSFileSystem(project=self.project, token=token)
self.init()
def __init__(self, *args, **kwargs):
super(GCSContentsManager, self).__init__(*args, **kwargs)
self._fs = GCSFS(
log=self.log,
project=self.project,
token=self.token,
bucket=self.bucket,
prefix=self.prefix,
separator=self.separator,
)