parameters: (user, pwd, db_name)
return_statement: return url
docstring: Build the connection url, and get credentials from self.secrets dictionary.
docstring_summary: Build the connection url, and get credentials from self.secrets dictionary.
docstring_tokens: Build the connection url and get credentials from self . secrets dictionary .
function: def build_oracle_url(user, pwd, db_name):
  		"""
  		Build the connection url, and get credentials from self.secrets dictionary.
  		"""
  
  		database_url = connection._cms_oracle_string(user, pwd, db_name)
  
  		try:
  			url = sqlalchemy.engine.url.make_url(database_url)
  			if url.password is None:
  				url.password = pwd
  		except sqlalchemy.exc.ArgumentError:
  			url = sqlalchemy.engine.url.make_url('sqlite:///%s' % db_name)
  		return url
function_tokens: def build_oracle_url ( user , pwd , db_name ) : database_url = connection . _cms_oracle_string ( user , pwd , db_name ) try : url = sqlalchemy . engine . url . make_url ( database_url ) if url . password is None : url . password = pwd except sqlalchemy . exc . ArgumentError : url = sqlalchemy . engine . url . make_url ( 'sqlite:///%s' % db_name ) return url