Replies: 1 comment 2 replies
-
The README shows how node packages are defined. The package name is the folder's name, and the folder must contain a file Ryven simply imports the module If the nodes don't show up, there's probably an error which you can see in the console hidden at the bottom of the window. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to do the following.
Within this project structure:
When I import them.. they don't show up in the
Ryven
nodes list.When I've had this same issue of nodes not showing up when I import them, it usually meant that I wasn't structuring my nodes the "ryven way".
Like for example...
To make any of my nodes work in the past, all nodes are declared within the
nodes.py
files, which were located in a directory with the name you'd expect to show up next to your nodes.So if I put my facial recognition node called
face_recognition
in anodes.py
file that exists in thefacial
directory, it would show up like this.If i tried importing anything else that had nodes but was not called
nodes.py
in that some directory. It wouldn't import.So now I'm thinking that breaking things into... little modules and exporting them through
nodes.py
is not the "ryven way".What is Ryven doing exactly when I give it a
nodes.py
file to import?Beta Was this translation helpful? Give feedback.
All reactions