Prratek Ramchandani
02/24/2021, 8:24 PMdagster_gcp
and had a question - I’d like to avoid typing out the entire schema in a YAML file and it seems my best bet is to use the configured
API and write Python to load the schema from a JSON file. Is there any way I can instead specify the path to the file in a YAML file and write a custom type with a corresponding type loader to pass the schema to the solid? My concern then is that the solid config expects a schema of type Array(inner_type=dict)
but this would then be some other custom type. Also, are custom types even supported for config, or is that only for inputs?type_check_fn
for a custom typealex
02/24/2021, 8:58 PMimport_gcs_paths_to_bq
to do that, but I think that is probably the right way to go once you are doing something more complex like thisPrratek Ramchandani
02/25/2021, 8:00 PM