MCPcopy Index your code
hub / github.com/ddserver/ddserver / config_blacklist

Function config_blacklist

ddserver/interface/validation.py:93–97  ·  view source on GitHub ↗
(config_decl)

Source from the content-addressed store, hash-verified

91
92@extend('ddserver.config:ConfigDeclaration')
93def config_blacklist(config_decl):
94 with config_decl.declare('dns') as s:
95 s('blacklist',
96 conv = lambda v: set(s.strip() for s in v.split(',')),
97 default = set())
98
99
100

Callers

nothing calls this directly

Calls 2

sFunction · 0.85
declareMethod · 0.80

Tested by

no test coverage detected