MCPcopy Create free account
hub / github.com/celery/celery / without_defaults

Method without_defaults

celery/app/utils.py:143–146  ·  view source on GitHub ↗

Return the current configuration, but without defaults.

(self)

Source from the content-addressed store, hash-verified

141 return self.first('timezone', 'TIME_ZONE')
142
143 def without_defaults(self):
144 """Return the current configuration, but without defaults."""
145 # the last stash is the default settings, so just skip that
146 return Settings({}, self.maps[:-1])
147
148 def value_set_for(self, key):
149 self.finalize()

Callers 1

tableMethod · 0.95

Calls 1

SettingsClass · 0.85

Tested by

no test coverage detected