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

Ignas Kizelevičius

06/12/2023, 1:16 PM
Is it possible to build ops dynamically by passing different config values in the new pythonic config manner? Previously i would have a for loop and build ops by passing the loop value to
.configured
. I am not sure how to do it with
Config
class.
I am still experimenting, but it looks like if using
.configured
then the
Config
class used on an op gets initiated with the values passed in
.configured
o

owen

06/12/2023, 10:02 PM
hi @Ignas Kizelevičius! you're correct that calling .configured() and passing in the
Config
class should work
i

Ignas Kizelevičius

06/13/2023, 4:56 AM
Hi @owen, I believe passing the class does not work, you have to pass the dictionary. But actually passing the
Config
class directly, without any dicts would be nice!