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

Py interface cleanup #122

Merged
merged 4 commits into from
Nov 3, 2024
Merged

Conversation

smartgoo
Copy link
Collaborator

@smartgoo smartgoo commented Nov 3, 2024

  • String vs &str in functions exposed
  • Replace all Result with PyResult
  • Prop errors where possible
  • map_err() cleanup
  • Remove unwrap() where possible
  • RPC subscription print python stack trace if execution of python callback from Rust yields exception

@smartgoo smartgoo merged commit 4770a70 into aspectron:python Nov 3, 2024
6 checks passed
@smartgoo smartgoo deleted the py-interface-cleanup branch November 3, 2024 21:00
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

Successfully merging this pull request may close these issues.

1 participant