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):
if 'GOOGLE_APPLICATION_CREDENTIALS' not in os.environ:
os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = '/gsa-key/key.json'
self.client = gcsfs.core.GCSFileSystem(secure_serialize=True)