Is it possible to build ops dynamically by passing...
# ask-community
i
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
hi @Ignas Kizelevičius! you're correct that calling .configured() and passing in the
Config
class should work
i
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!