We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aea019 commit f07b19cCopy full SHA for f07b19c
scheduler/settings.py
@@ -43,8 +43,8 @@ def conf_settings():
43
return
44
if not isinstance(user_settings, dict):
45
raise ImproperlyConfigured("SCHEDULER_CONFIG should be a SchedulerConfiguration or dict")
46
+ annotations = get_annotations(SCHEDULER_CONFIG)
47
for k, v in user_settings.items():
- annotations = get_annotations(SCHEDULER_CONFIG)
48
if k not in annotations:
49
raise ImproperlyConfigured(f"Unknown setting {k} in SCHEDULER_CONFIG")
50
setattr(SCHEDULER_CONFIG, k, v)
0 commit comments