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

Chore: Type hints in ServerAPI and global api functions #224

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from

Conversation

iLLiCiTiT
Copy link
Member

Changelog Description

Added typehints to most of ServerAPI functions and in public api functions.

Additional review information

It is a lot of changes, I've discovered multiple unexpected behaviors in the code, different order od arguments in some getter, different return output for create methods, those will come in future PRs.

I didn't fill typehints to some deprecated arguments. I've tried my best, hopefully all necessary is filled.

Testing notes:

  1. Go through the changes in code.
  2. It is possible to use any of the functions.
  3. Tests should pass ok.

@iLLiCiTiT iLLiCiTiT self-assigned this Dec 6, 2024
@iLLiCiTiT iLLiCiTiT requested review from kalisp and antirotor December 6, 2024 11:05
@iLLiCiTiT iLLiCiTiT added the type: enhancement New feature or request label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant