Skip to content
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

Improve python bindings to return objects where appropriate #284

Open
wxsBSD opened this issue Jan 10, 2025 · 0 comments
Open

Improve python bindings to return objects where appropriate #284

wxsBSD opened this issue Jan 10, 2025 · 0 comments

Comments

@wxsBSD
Copy link
Contributor

wxsBSD commented Jan 10, 2025

I haven't looked into what this would take yet but I happened to notice that compiler errors and warnings are returned as a list of dicts, which seems like a step back from the OG yara bindings where we were returning objects for these things. Is there a desire to keep things the way they are or are you interested in converting these to actual objects so we can have some more structure around them (and ideally better type hints)?

I'm more than happy to do the work but it would break any users of the existing API (again, I'm fine with that as we haven't declared anything stable that I'm aware of). Thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant