Skip to content

Commit 3c2706c

Browse files
authored
Merge branch 'master' into ci/lockfile-validation-uv
2 parents 563181a + f07b19c commit 3c2706c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scheduler/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def conf_settings():
4343
return
4444
if not isinstance(user_settings, dict):
4545
raise ImproperlyConfigured("SCHEDULER_CONFIG should be a SchedulerConfiguration or dict")
46+
annotations = get_annotations(SCHEDULER_CONFIG)
4647
for k, v in user_settings.items():
47-
annotations = get_annotations(SCHEDULER_CONFIG)
4848
if k not in annotations:
4949
raise ImproperlyConfigured(f"Unknown setting {k} in SCHEDULER_CONFIG")
5050
setattr(SCHEDULER_CONFIG, k, v)

0 commit comments

Comments
 (0)