当前位置: 首页>>代码示例>>Python>>正文


Python ES_INDEXES.items方法代码示例

本文整理汇总了Python中mkt.settings.ES_INDEXES.items方法的典型用法代码示例。如果您正苦于以下问题:Python ES_INDEXES.items方法的具体用法?Python ES_INDEXES.items怎么用?Python ES_INDEXES.items使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在mkt.settings.ES_INDEXES的用法示例。


在下文中一共展示了ES_INDEXES.items方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: splitstrip

# 需要导入模块: from mkt.settings import ES_INDEXES [as 别名]
# 或者: from mkt.settings.ES_INDEXES import items [as 别名]
TMP_PATH = os.path.join(NETAPP_STORAGE, 'tmp')

ADDONS_PATH = private.NETAPP_STORAGE_ROOT + '/files'

SPIDERMONKEY = '/usr/bin/tracemonkey'

csp = 'csp.middleware.CSPMiddleware'


RESPONSYS_ID = private.RESPONSYS_ID

CRONJOB_LOCK_PREFIX = 'mkt-landfill'

ES_HOSTS = splitstrip(private.ES_HOSTS)
ES_URLS = ['http://%s' % h for h in ES_HOSTS]
ES_INDEXES = dict((k, '%s_landfill' % v) for k, v in ES_INDEXES.items())

STATSD_HOST = private.STATSD_HOST
STATSD_PORT = private.STATSD_PORT
STATSD_PREFIX = private.STATSD_PREFIX

CEF_PRODUCT = STATSD_PREFIX

ES_TIMEOUT = 60

EXPOSE_VALIDATOR_TRACEBACKS = False

KNOWN_PROXIES += ['10.2.83.105',
                  '10.2.83.106',
                  '10.2.83.107',
                  '10.8.83.200',
开发者ID:rctgamer3,项目名称:zamboni,代码行数:33,代码来源:settings_base.py

示例2: splitstrip

# 需要导入模块: from mkt.settings import ES_INDEXES [as 别名]
# 或者: from mkt.settings.ES_INDEXES import items [as 别名]
SPIDERMONKEY = '/usr/bin/tracemonkey'

csp = 'csp.middleware.CSPMiddleware'


RESPONSYS_ID = private.RESPONSYS_ID

CRONJOB_LOCK_PREFIX = 'marketplace-paymentsalt'

GOOGLE_ANALYTICS_CREDENTIALS = private.GOOGLE_ANALYTICS_CREDENTIALS
GOOGLE_API_CREDENTIALS = private.GOOGLE_API_CREDENTIALS

ES_HOSTS = splitstrip(private.ES_HOSTS)
ES_URLS = ['http://%s' % h for h in ES_HOSTS]
ES_INDEXES = dict((k, '%s_paymentsalt' % v) for k, v in ES_INDEXES.items())

STATSD_HOST = private.STATSD_HOST
STATSD_PORT = private.STATSD_PORT
STATSD_PREFIX = private.STATSD_PREFIX

CEF_PRODUCT = STATSD_PREFIX

ES_TIMEOUT = 60

EXPOSE_VALIDATOR_TRACEBACKS = False

KNOWN_PROXIES += ['10.2.83.105',
                  '10.2.83.106',
                  '10.2.83.107',
                  '10.8.83.200',
开发者ID:Jobava,项目名称:zamboni,代码行数:32,代码来源:settings_base.py

示例3: splitstrip

# 需要导入模块: from mkt.settings import ES_INDEXES [as 别名]
# 或者: from mkt.settings.ES_INDEXES import items [as 别名]
SPIDERMONKEY = "/usr/bin/tracemonkey"

csp = "csp.middleware.CSPMiddleware"


RESPONSYS_ID = private.RESPONSYS_ID

CRONJOB_LOCK_PREFIX = "marketplace-stage"

GOOGLE_ANALYTICS_CREDENTIALS = private.GOOGLE_ANALYTICS_CREDENTIALS
GOOGLE_API_CREDENTIALS = private.GOOGLE_API_CREDENTIALS

ES_HOSTS = splitstrip(private.ES_HOSTS)
ES_URLS = ["http://%s" % h for h in ES_HOSTS]
ES_INDEXES = dict((k, "%s_stage" % v) for k, v in ES_INDEXES.items())

STATSD_HOST = private.STATSD_HOST
STATSD_PORT = private.STATSD_PORT
STATSD_PREFIX = private.STATSD_PREFIX

CEF_PRODUCT = STATSD_PREFIX

ES_TIMEOUT = 60

EXPOSE_VALIDATOR_TRACEBACKS = False

KNOWN_PROXIES += [
    "10.2.83.105",
    "10.2.83.106",
    "10.2.83.107",
开发者ID:clouserw,项目名称:zamboni,代码行数:32,代码来源:settings_base.py


注:本文中的mkt.settings.ES_INDEXES.items方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。