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.
2 parents 563181a + f07b19c commit 3c2706cCopy full SHA for 3c2706c
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