CMS 3D CMS Logo

Classes | Namespaces | Functions | Variables
conddblib.py File Reference

Go to the source code of this file.

Classes

class  conddblib._Col
 
class  conddblib.BoostRunMap
 
class  conddblib.Connection
 
class  conddblib.DbRef
 
class  conddblib.GlobalTag
 
class  conddblib.GlobalTagMap
 
class  conddblib.IOV
 
class  conddblib.Payload
 
class  conddblib.RunInfo
 
class  conddblib.Synchronization
 
class  conddblib.Tag
 
class  conddblib.TagAuthorization
 
class  conddblib.TagLog
 
class  conddblib.TagMetadata
 
class  conddblib.TimeType
 

Namespaces

 conddblib
 

Functions

def conddblib._exists (session, primary_key, value)
 
def conddblib._getCMSFrontierConnectionString (database)
 
def conddblib._getCMSSQLAlchemyConnectionString (technology, service, schema_name)
 
def conddblib._inserted_before (timestamp)
 
def conddblib.connect (url, authPath=None, verbose=0, as_admin=False)
 
def conddblib.fq_col (schema, table, column)
 
def conddblib.fq_name (schema_name, table_name)
 
def conddblib.getPayload (session, hash)
 
def conddblib.getSchema (tp)
 
def conddblib.getSessionOnMasterDB (session1, session2)
 
def conddblib.hash (data)
 
def conddblib.listObject (session, name, snapshot=None)
 
def conddblib.make_dbtype (backendName, schemaName, baseType)
 
def conddblib.make_url (database='pro', read_only=True)
 
def conddblib.oracle_connection_string (db_service, db_schema)
 

Variables

string conddblib.__author__ = 'Miguel Ojeda'
 
string conddblib.__copyright__ = 'Copyright 2013, CERN'
 
list conddblib.__credits__ = ['Giacomo Govi', 'Miguel Ojeda', 'Andreas Pfeiffer']
 
string conddblib.__email__ = 'giacomo.govi@cern.ch'
 
string conddblib.__license__ = 'Unknown'
 
string conddblib.__maintainer__ = 'Giacomo Govi'
 
 conddblib._Base = sqlalchemy.ext.declarative.declarative_base()
 
string conddblib.ARC = 'FrontierArc'
 
string conddblib.authPathEnvVar = 'COND_AUTH_PATH'
 
string conddblib.contact_help = 'If you need assistance, please write an email to %s and %s. If you need immediate/urgent assistance, you can call the Offline DB expert on call (%s).' % (offline_db_experts_email, web_experts_email, offline_db_experts_phone)
 
string conddblib.database_help
 
dictionary conddblib.db_models = {}
 
string conddblib.dbkey_filename = 'db.key'
 
 conddblib.dbkey_folder = os.path.join('.cms_cond',dbkey_filename)
 
string conddblib.dbreader_user_name = 'cms_cond_general_r'
 
string conddblib.dbuser_name = 'cms_conditions'
 
string conddblib.dbwriter_user_name = 'cms_cond_general_w'
 
int conddblib.description_length = 4000
 
string conddblib.DEV = 'FrontierPrep'
 
string conddblib.empty_label = '-'
 
 conddblib.hash_length = len(hash(''))
 
string conddblib.INT = 'FrontierInt'
 
 conddblib.logger = logging.getLogger(__name__)
 
int conddblib.name_length = 100
 
string conddblib.offline_db_experts_email = 'cms-offlinedb-exp@cern.ch'
 
string conddblib.offline_db_experts_phone = '+41 22 76 70817, or 70817 from CERN; check https://twiki.cern.ch/twiki/bin/viewauth/CMS/DBShifterHelpPage if it does not work; availability depends on the state of the LHC'
 
string conddblib.ONLINEORAINT = 'cmsintr_lb'
 
string conddblib.ONLINEORAPRO = 'cms_orcon_prod'
 
string conddblib.ORAARC = 'cmsarc_lb'
 
string conddblib.ORADEV = 'cms_orcoff_prep'
 
string conddblib.ORAINT = 'cms_orcoff_int'
 
string conddblib.ORAPRO = 'cms_orcon_adg'
 
string conddblib.PRO = 'PromptProd'
 
string conddblib.schema_name = 'cms_conditions'
 
 conddblib.synch_list = list(x.value for x in list(Synchronization))
 
string conddblib.web_experts_email = 'cms-cond-dev@cern.ch'