I am new to the dagster world and working on ops and jobs concepts. \
my requirement is to read a list of data from config_schema
and pass it to @op
function and return the same list to jobs. \
The code is show as below
@op(config_schema={"table_name":list})
def read_tableNames(context):
lst=context.op_config['table_name']
return lst
@job
def write_db():
tableNames_frozenList=read_tableNames()
print(f'-------------->',type(tableNames_frozenList))
print(f'-------------->{tableNames_frozenList}')
when it accepts the list in @op function, it is showing as a frozenlist type but when i tried to return to jobs it conver it into <class 'dagster._core.definitions.composition.InvokedNodeOutputHandle'>
data type
My requirement is to fetch the list of data and iterate over the list and perform some operatiosn on individual data of a list using @ops
Please help to understand this
Thanks in advance !!!