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

Python types #14

Open
sjohnsonaz opened this issue Jun 8, 2021 · 1 comment
Open

Python types #14

sjohnsonaz opened this issue Jun 8, 2021 · 1 comment

Comments

@sjohnsonaz
Copy link

Can types be added? There are a lot of data structures coming back from the fusionauth API. It would be really helpful if they were defined here.

@mooreds
Copy link
Contributor

mooreds commented Jun 8, 2021

Hmmm. Should be possible. We have all the type info in JSON files: https://github.com/FusionAuth/fusionauth-client-builder/tree/master/src/main/domain which are used to build other typed languages: https://github.com/FusionAuth/fusionauth-client-builder/tree/master/src/main/client

We'd welcome a PR against the fusionauth-client-builder project which added types. I'm happy to chat with you about how that might work if you'd like.

If types aren't backwards compatible, probably makes sense to create a fusionauth-python-typed-client library.

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

2 participants