https://dagster.io/ logo
#ask-community
Title
# ask-community
g

George Pearse

04/29/2022, 10:12 AM
I suffix schedules and jobs with _schedules and _jobs so that I can expose them all via globals() without having to list them out. Is that considered bad practice from python perspective?
s

sandy

04/30/2022, 12:25 AM
if I were coding this, I might instead filter on
isinstance(module_attr, JobDefinition)
. would that work for you?
1
g

George Pearse

05/11/2022, 8:55 PM
Think so, will give a go shortly
2 Views