Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »





cql confluence
def get_credential():
   import yaml
   credentialfilename = r'../credential.yaml'
   diccredential = yaml.load(open(credentialfilename))
   urlbase = diccredential['urlbase']
   auth = HTTPBasicAuth(diccredential['username'], diccredential['key'])
   #credentialfilename.close()
   return (urlbase,auth)




  • No labels