6 if __name__ ==
"__main__":
10 sys.path.append(
"../")
11 from CondCore.Utilities.CondDBFW
import querying_framework_api
12 import CondCore.Utilities.CondDBFW.data_sources, CondCore.Utilities.CondDBFW.data_formats
as format
13 from CondCore.Utilities.CondDBFW.querying
import connect
18 everything = connection.search_everything(sys.argv[1])
21 secrets_file =
"/afs/cern.ch/cms/DB/conddb/.cms_cond/netrc"
22 secrets_file_1 =
"netrc_test"
24 connection_data = {
"db_alias" :
"orapro",
"host" :
"oracle",
"schema" :
"cms_conditions",
"secrets" : secrets_file}
25 qf = querying_framework_api(connection_data)
28 data.get(
"global_tags").as_table()
29 data.get(
"tags").as_table()
30 data.get(
"iovs").as_table()
31 data.get(
"payloads").as_table()