-
Notifications
You must be signed in to change notification settings - Fork 5
Allows Python Function Registration #18
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
base: main
Are you sure you want to change the base?
Conversation
| /// - `lazy_args`: optional indices of lazy arguments; use None for strict | ||
| /// - `pyfunc`: owned Python callable captured into this production | ||
| #[cfg(feature = "python")] | ||
| pub fn add_python_primitive( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function should not exist directly, instead, have a function create_python_production or something in py.rs, and then call .add_entry(create_python_production(...)) where you would call this.
|
|
||
| /// by dreamegg::domain::Val so they don't appear here. | ||
| #[derive(Clone,Debug, PartialEq, Eq, Hash)] | ||
| pub enum PyVal { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could potentially just be PyAny
No description provided.