Import python script in library to code recipe

NurulPutri
NurulPutri Registered Posts: 5 ✭✭✭

Hello,

I make a script to clean my data. The script uses data from the json files for computation purposes. I store all the script and the json in the library of my project.

So here is how the library editor looks.

Screen Shot 2021-07-21 at 21.26.23.png

I tried to import some function and class in a code recipe, but get the following error.

Screen Shot 2021-07-21 at 21.38.01.png

Is there any way I can import the function defined in the script in the library to a python recipe to make custom transformation? Or, do I have to make a plugin?

Here I attach all files that I upload to the library.

Thank you in advance for your answer.

Best Answers

Answers

Setup Info
    Tags
      Help me…