本文整理汇总了Python中mpx.lib.node.ConfigurableNode.configuration方法的典型用法代码示例。如果您正苦于以下问题:Python ConfigurableNode.configuration方法的具体用法?Python ConfigurableNode.configuration怎么用?Python ConfigurableNode.configuration使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mpx.lib.node.ConfigurableNode
的用法示例。
在下文中一共展示了ConfigurableNode.configuration方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: configuration
# 需要导入模块: from mpx.lib.node import ConfigurableNode [as 别名]
# 或者: from mpx.lib.node.ConfigurableNode import configuration [as 别名]
def configuration(self):
config = ConfigurableNode.configuration(self)
get_attribute(self, 'value',config, str)
get_attribute(self, 'debug',config, str)
get_attribute(self, '__node_id__', config)
return config
示例2: configuration
# 需要导入模块: from mpx.lib.node import ConfigurableNode [as 别名]
# 或者: from mpx.lib.node.ConfigurableNode import configuration [as 别名]
def configuration(self):
config = ConfigurableNode.configuration( self )
get_attribute( self, 'enable', config )
get_attribute( self, 'user_id', config )
get_attribute( self, 'password', config )
get_attribute( self, 'local_ip', config )
get_attribute( self, 'client_ip', config )
get_attribute( self, 'debug', config )
return config
示例3: configuration
# 需要导入模块: from mpx.lib.node import ConfigurableNode [as 别名]
# 或者: from mpx.lib.node.ConfigurableNode import configuration [as 别名]
def configuration(self):
config = ConfigurableNode.configuration(self)
get_attribute(self, 'output', config, as_node_url)
get_attribute(self, 'input', config, as_node_url)
get_attribute(self, 'period', config, str)
get_attribute(self, 'asyncOK', config, str)
get_attribute(self, 'debug', config, str)
get_attribute(self, 'enabled', config, str)
get_attribute(self, 'backoff_on_failure', config, str)
get_attribute(self, 'conversion', config, str)
return config
示例4: configuration
# 需要导入模块: from mpx.lib.node import ConfigurableNode [as 别名]
# 或者: from mpx.lib.node.ConfigurableNode import configuration [as 别名]
def configuration(self):
config = ConfigurableNode.configuration(self)
get_attribute(self, 'message', config)
get_attribute(self, 'subject', config)
get_attribute(self, 'send_retries', config)
get_attribute(self, 'enabled', config, str)
get_attribute(self, 'prodnode', config, str)
get_attribute(self, 'eventmodule', config, str)
get_attribute(self, 'eventclass', config, str)
get_attribute(self, 'debug', config, int)
return config
示例5: configuration
# 需要导入模块: from mpx.lib.node import ConfigurableNode [as 别名]
# 或者: from mpx.lib.node.ConfigurableNode import configuration [as 别名]
def configuration( self ):
config_dict = ConfigurableNode.configuration( self )
get_attribute( self, 'enable', config_dict )
get_attribute( self, 'debug', config_dict )
get_attribute( self, 'ddns_service', config_dict )
get_attribute( self, 'ddns_acct', config_dict )
get_attribute( self, 'ddns_pswd', config_dict )
get_attribute( self, 'host_name', config_dict )
map_from_attribute( self, 'period', config_dict, map_from_seconds )
return config_dict
示例6: configuration
# 需要导入模块: from mpx.lib.node import ConfigurableNode [as 别名]
# 或者: from mpx.lib.node.ConfigurableNode import configuration [as 别名]
def configuration(self):
self.debug_print('Reading configuration...', 0)
config = ConfigurableNode.configuration(self)
return config
示例7: configuration
# 需要导入模块: from mpx.lib.node import ConfigurableNode [as 别名]
# 或者: from mpx.lib.node.ConfigurableNode import configuration [as 别名]
def configuration( self ):
config_dict = ConfigurableNode.configuration( self )
get_attribute( self, 'debug', config_dict )
return config_dict
示例8: configuration
# 需要导入模块: from mpx.lib.node import ConfigurableNode [as 别名]
# 或者: from mpx.lib.node.ConfigurableNode import configuration [as 别名]
def configuration(self):
config = ConfigurableNode.configuration(self)
get_attribute(self, self.ION, config, as_node_url)
get_attribute(self, self.MULTIPLIER, config)
return config
示例9: configuration
# 需要导入模块: from mpx.lib.node import ConfigurableNode [as 别名]
# 或者: from mpx.lib.node.ConfigurableNode import configuration [as 别名]
def configuration(self):
cd = ConfigurableNode.configuration(self)
get_attribute(self,'www_file_path',cd,str)
get_attribute(self,'HTML_target_file',cd,str)
return cd
示例10: configuration
# 需要导入模块: from mpx.lib.node import ConfigurableNode [as 别名]
# 或者: from mpx.lib.node.ConfigurableNode import configuration [as 别名]
def configuration(self):
config = ConfigurableNode.configuration(self)
get_attribute(self, 'bit', config, str)
return config
示例11: configuration
# 需要导入模块: from mpx.lib.node import ConfigurableNode [as 别名]
# 或者: from mpx.lib.node.ConfigurableNode import configuration [as 别名]
def configuration(self):
config = ConfigurableNode.configuration(self)
get_attribute(self, 'ion', config, as_node_url)
get_attribute(self, 'divisor', config, str)
return config