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

Pyo3 Enums or ADT for enums in bindings #181

Open
jw3 opened this issue Aug 5, 2021 · 0 comments
Open

Pyo3 Enums or ADT for enums in bindings #181

jw3 opened this issue Aug 5, 2021 · 0 comments
Labels
bindings Needs Verified Need additional feedback to ensure validity of issue. Rust

Comments

@jw3
Copy link
Member

jw3 commented Aug 5, 2021

There are now several instances of sending strings over as flags

  • trust status
  • event subject and object fields
    • access
    • trust
    • mode

There are a finite set of options for each of these, need to figure out the proper way to model a Rust enum into Python.

@jw3 jw3 mentioned this issue Sep 28, 2021
@jw3 jw3 added this to the 5 - Policy Adjustment milestone Sep 30, 2021
@jw3 jw3 removed this from the 5 - Policy Adjustment milestone Oct 28, 2021
@jw3 jw3 added the Needs Verified Need additional feedback to ensure validity of issue. label Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bindings Needs Verified Need additional feedback to ensure validity of issue. Rust
Projects
None yet
Development

No branches or pull requests

1 participant