本文整理匯總了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