How to use the data set without my_compute_function. From file1 in repository, I want to call a function which is defined in another file. In the second file, I want to make use of the data set, my_input_integration, may be without my_compute_function. How to combine the datasets from two different repository files. I do not want to combine in one file because I want to use 2nd file as utility file. It would be great if anyone can answer this.
Repository File 1
from transforms.api import transform, Input, Output
@transform(
my_output=Output("/my/output"),
my_input=Input("/my/input"),
)
def my_compute_function(my_input, my_output):
return calling_function(my_input, my_output)
Repository File 2
from transforms.api import transform, Input, Output
@transform(
my_input_integration =Input("/my/input"),
)
def calling_function(my_input, my_output, my_input_integration??)
return my_output.write_dataframe(
my_input.dataframe(),
column_descriptions=my_dictionary
)