-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generated __init__.py
with multiple functions takes the last
#21
Comments
bumping this. I'm working around this in a hacky way by clearing the init of the target directory and just importing the functions directly into my class (without using the codegen_util.load_generated_package function). is there a more elegant/proper way? |
Some thoughts on this:
For these reasons I'm leaning towards just generating an empty |
yeah empty |
An option to put multiple functions in a single python file (or C++ header, for that matter) is separately a good idea as well I think |
understood. Is there anything i can do to contribute to these? The readme sounds supportive of community driven contributions. |
Absolutely! You would be welcome to tackle this and submit a PR, we're happy to provide some guidance too if that's something you'd like to do |
A minimal example:
Then
output_dir/python/symforce/sym/__init__.py
will contain:The text was updated successfully, but these errors were encountered: