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

Implement types of Python #66

Closed
hwakabh opened this issue Jan 19, 2024 · 0 comments · Fixed by #77
Closed

Implement types of Python #66

hwakabh opened this issue Jan 19, 2024 · 0 comments · Fixed by #77
Assignees
Labels
chore Changes not related to application logics enhancement New feature or request

Comments

@hwakabh
Copy link
Owner

hwakabh commented Jan 19, 2024

AsIs

Though we have used FastAPI, based on Pydantic V2, almost all of current Python code base does not mark up with its types.
Without pydantic we can not leverage its validation for API field, so this is type-unsafed and makes API work as unexpected way.

ToDo

Implemented schemas to current code basis with Pydantic, mainly to routers.py and cruds.py

(Optional) Acceptance Criteria

  • Application will be started up locally without any error locally
  • pytest results will not have any regression
@hwakabh hwakabh added enhancement New feature or request chore Changes not related to application logics labels Jan 19, 2024
@hwakabh hwakabh self-assigned this Jan 19, 2024
hwakabh added a commit that referenced this issue Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Changes not related to application logics enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant