MCPcopy
hub / github.com/celery/celery / without_defaults

Method without_defaults

celery/app/utils.py:133–136  ·  view source on GitHub ↗

Return the current configuration, but without defaults.

(self)

Source from the content-addressed store, hash-verified

131 return self.first('timezone', 'TIME_ZONE')
132
133 def without_defaults(self):
134 """Return the current configuration, but without defaults."""
135 # the last stash is the default settings, so just skip that
136 return Settings({}, self.maps[:-1])
137
138 def value_set_for(self, key):
139 return key in self.without_defaults()

Callers 2

value_set_forMethod · 0.95
tableMethod · 0.95

Calls 1

SettingsClass · 0.85

Tested by

no test coverage detected