本文整理汇总了Python中WMCore.Configuration.ConfigSection.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python ConfigSection.__init__方法的具体用法?Python ConfigSection.__init__怎么用?Python ConfigSection.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类WMCore.Configuration.ConfigSection
的用法示例。
在下文中一共展示了ConfigSection.__init__方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from WMCore.Configuration import ConfigSection [as 别名]
# 或者: from WMCore.Configuration.ConfigSection import __init__ [as 别名]
def __init__(self, name):
ConfigSection.__init__(self, name)
self._internal_treetop = False
self.section_("tree")
self.tree.section_("children")
self.tree.childNames = []
self.tree.parent = None
示例2: __init__
# 需要导入模块: from WMCore.Configuration import ConfigSection [as 别名]
# 或者: from WMCore.Configuration.ConfigSection import __init__ [as 别名]
def __init__(self, name="test"):
ConfigSection.__init__(self, name)
self.objectType = self.__class__.__name__
# //persistent data
# //
#//
self.section_("persistency")
self.persistency.specUrl = None
# //
# // request related information
#//
self.section_("request")
self.request.priority = None # what should be the default value
# //
# // owner related information
#//
self.section_("owner")
# //
# // Policies applied to this workload by the processing system
#//
self.section_("policies")
self.policies.section_("start")
self.policies.section_("end")
self.policies.start.policyName = None
self.policies.end.policyName = None
# //
# // properties of the Workload and all tasks there-in
#//
self.section_("properties")
self.properties.acquisitionEra = None
self.properties.processingVersion = None
self.properties.unmergedLFNBase = "/store/unmerged"
self.properties.mergedLFNBase = "/store/data"
self.properties.dashboardActivity = None
# //
# // tasks
#//
self.section_("tasks")
self.tasks.tasklist = []
self.sandbox = None
self.initialJobCount = 0
示例3: __init__
# 需要导入模块: from WMCore.Configuration import ConfigSection [as 别名]
# 或者: from WMCore.Configuration.ConfigSection import __init__ [as 别名]
def __init__(self, name = None):
BaseConfigSection.__init__(self, name)