@hemals that’s a helpful first step, and I’ll investigate.
I think what is confusing to me in terms of using Python is, in the example applications I have seen that use Python codelets, the app.json file does not actually list the Python-defined components. Instead, the node is listed in the app.json file with a MessageLedger type component, and then in the main() function of the Python script, you load the app.json file with the Application() function, and then add the Python component and any corresponding edges in separate commands. An example from the app I am building:
app = Application(
So if I am using the py_binary target and listing it as a module in my app.json and BUILD files, I have no reference as to how to define my Python codelet component within the app.json file (CPP codelets have namespaces preceding it, e.g. isaac::package_name::codelet_name). For the example above, instead of using the Python codelet in the subgraph, I’ve opted to move it outside the subgraph and into the application that uses the subgraph as a temporary solution, but eventually I’d like to have it all contained within the subgraph.