Skip to content

Conversation

@igorbenav
Copy link
Collaborator

Summary

Bugs fixed and now working with MyPy.

🚀Features

  • mypy settings created

🔎Bug fixes

  • removed uuid_pkg.UUID(as_uuid=True) from uuid mixin
  • status_code.description changed to HTTPStatus(status_code).description in custom exception definition
  • bound base added: ModelType = TypeVar("ModelType", bound=Base)
  • PostUpdate inheriting from BaseModel instead of PostBase
  • MissingClientError created plus a bunch of None dealt with
  • fixed some type hints, also docs

@igorbenav igorbenav added bug Something isn't working enhancement New feature or request labels Nov 26, 2023
@igorbenav igorbenav self-assigned this Nov 26, 2023
@igorbenav igorbenav merged commit d8ab798 into main Nov 26, 2023
@igorbenav igorbenav deleted the mypy-fixes branch November 26, 2023 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants