本文整理汇总了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)