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

Add extensible enum class for client API types #14

Closed
tulir opened this issue Dec 28, 2019 · 1 comment
Closed

Add extensible enum class for client API types #14

tulir opened this issue Dec 28, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@tulir
Copy link
Member

tulir commented Dec 28, 2019

Many Matrix things like event types, relation types and message types have some default options, but also allow custom values. These would benefit from an enum-like type that allows new values to be added dynamically. Currently those types are normal Python enums, which means parsing events with such custom values will fail.

@tulir tulir added the enhancement New feature or request label Dec 28, 2019
tulir added a commit that referenced this issue Dec 28, 2019
@tulir
Copy link
Member Author

tulir commented May 20, 2020

Done in 2697f32

@tulir tulir closed this as completed May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant