sephi05/14/2020, 8:54 AM
type within a solid configuration? I'm not able to understand how to define a general dict from the error : Passing
sets an error
DagsterInvalidDefintionError: Attempted to pass <dagster.core.types.python_dict.DagsterDictApi object> to a Field that expects a valid dagster type usable in config (e.g. Dict, Int, String et al).The
is too strict - I just need a general
> but still problematic
1. A Python primitive type that resolve to dagster config types: int, float, bool, str. 2. A dagster config type: Int, Float, Bool, String, StringSource, Path, Any, Array, Noneable, Selector, Shape, Permissive, etc. 3. A bare python dictionary, which is wrapped in Shape. Any values in the dictionary get resolved by the same rules, recursively. 4. A bare python list of length one which itself is config type. Becomes Array with list element as an argument.
schrockn05/14/2020, 1:19 PM
sephi05/14/2020, 2:20 PM
I got an error, then I gave a
- too strict . finally I just need to
which worked - sorry for the hassle.