本文整理匯總了Python中MOSES.getAuditParametersData方法的典型用法代碼示例。如果您正苦於以下問題:Python MOSES.getAuditParametersData方法的具體用法?Python MOSES.getAuditParametersData怎麽用?Python MOSES.getAuditParametersData使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類MOSES
的用法示例。
在下文中一共展示了MOSES.getAuditParametersData方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: __init__
# 需要導入模塊: import MOSES [as 別名]
# 或者: from MOSES import getAuditParametersData [as 別名]
def __init__(self, user_id, password, category_tree, lock_users=None, *args, **kwargs):
super(TNAViewer, self).__init__(*args, **kwargs)
self.user_id = user_id
self.password = password
self.category_tree = category_tree
parameters_date = datetime.date.today()
self.audit_parameters_dataframe = MOSES.getAuditParametersData(self.user_id, self.password, parameters_date)
#the viewer level controls the scope of the program.
#A Level 0 limits the visibility to the current user, and shows the team's quality in comparison.
#A level 1 allows choosing the users.
if lock_users is not None:
self.lock_users = lock_users
else:
self.lock_users = False
self.createUI()
self.mapEvents()
self.initiate()
示例2: populateAuditParameters
# 需要導入模塊: import MOSES [as 別名]
# 或者: from MOSES import getAuditParametersData [as 別名]
def populateAuditParameters(self):
parameters_date = self.base_data_set_group.getDates()[0]
self.audit_parameters_dataframe = MOSES.getAuditParametersData(self.user_id, self.password, parameters_date)
self.audit_parameters = self.audit_parameters_dataframe["Column Descriptions"]
self.parameters_combobox.clear()
self.parameters_combobox.addItems(self.audit_parameters)