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

Split up endpoints.py #118

Open
podliashanyk opened this issue Jun 12, 2024 · 1 comment
Open

Split up endpoints.py #118

podliashanyk opened this issue Jun 12, 2024 · 1 comment

Comments

@podliashanyk
Copy link
Contributor

Split up/move some code from endpoints.py to other files:

  1. Move Enums to f.e. types.py
  2. Move helper functions to utils.py (or specific_utils.py)
  3. Move handler funtions to f.e. handlers.py

So that as a result endpoints.py contains only routes.

@hmpf
Copy link
Contributor

hmpf commented Jun 12, 2024

Instead of specific_utils.py, make a tree:

  • utils/sorting.py
  • utils/formatting.py
  • utils/...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants