

def locked_put(self, credentials):
    'Write Credentials to file.\n\n        Args:\n            credentials: Credentials, the credentials to store.\n\n        Raises:\n            CredentialsFileSymbolicLinkError if the file is a symbolic link.\n        '
    credentials._create_file_if_needed()
    self._validate_file()
    f = open(self._filename, 'w')
    f.write(credentials.to_json())
    f.close()

dataset/ETHPy150Open google/oauth2client/oauth2client/file.py Storage.locked_put/VarMisuse@14/79 `self`->`credentials`