本文整理汇总了Python中munch.Munch.scheduler_address方法的典型用法代码示例。如果您正苦于以下问题:Python Munch.scheduler_address方法的具体用法?Python Munch.scheduler_address怎么用?Python Munch.scheduler_address使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类munch.Munch
的用法示例。
在下文中一共展示了Munch.scheduler_address方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: Munch
# 需要导入模块: from munch import Munch [as 别名]
# 或者: from munch.Munch import scheduler_address [as 别名]
from munch import Munch
import yaml
CWD = os.getcwd()
C = Munch(solar_db="")
C.riak_ensemble = False
C.lock_bucket_type = None
C.counter_bucket_type = None
C.log_file = 'solar.log'
C.system_log_address = 'ipc:///tmp/solar_system_log'
C.tasks_address = 'ipc:///tmp/solar_tasks'
C.scheduler_address = 'ipc:///tmp/solar_scheduler'
C.timewatcher_address = 'ipc:///tmp/solar_timewatcher'
C.executor = 'zerorpc'
C.tasks_driver = 'solar'
C.scheduler_driver = 'solar'
C.system_log_driver = 'solar'
C.runner = 'gevent'
def _lookup_vals(setter, config, prefix=None):
for key, val in config.iteritems():
if prefix is None:
sub = [key]
else:
sub = prefix + [key]
if isinstance(val, Munch):