Tim Hitchins
05/19/2023, 11:21 PMOutput
object where value: str
and metadata: dict
for example:
@asset
def my_asset() -> Output:
# do stuff
return Output(
value="a_string",
metadata={"meta": "data"}
)
I am unsure of how to properly type check that value
is a string and metadata
is a dict in Output
Any suggestions? Python and Dagster types are a bit new for me.Odette Harary
05/22/2023, 2:40 PMTim Hitchins
05/22/2023, 6:07 PM