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

refactor: Use an enum instead of strings to identify API resources #54

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

asgeirrr
Copy link
Collaborator

@asgeirrr asgeirrr commented Nov 2, 2023

This is not only cleaner but will be useful when implementing custom de-serializers.

rossum_api/api_client.py Outdated Show resolved Hide resolved
rossum_api/api_client.py Outdated Show resolved Hide resolved
rossum_api/elis_api_client.py Outdated Show resolved Hide resolved
@asgeirrr asgeirrr force-pushed the oh/enums-instead-of-strings branch 2 times, most recently from e5ea408 to 5aaf127 Compare November 2, 2023 14:33
rossum_api/api_client.py Outdated Show resolved Hide resolved
This is not only cleaner but will be useful when implementing custom
de-serializers.
@bara-m bara-m merged commit 2c24376 into main Nov 2, 2023
12 checks passed
@bara-m bara-m deleted the oh/enums-instead-of-strings branch November 2, 2023 14:57
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.

None yet

2 participants