Skip to content

Conversation

@iLLiCiTiT
Copy link
Member

Changelog Description

Modified automated api script to fill in all arguments with same defaults as are used in ServerAPI to _api.py functions.

Additional review information

Also added typehints logic, but that is not 100%, should not break the code if "fails" to resolve the typehint correctly.

Testing notes:

  1. IDEs should start to supply arguments available on public functions.
  2. Import of ayon_api does not cause any issues and works as before.

@iLLiCiTiT iLLiCiTiT self-assigned this Nov 19, 2024
@iLLiCiTiT iLLiCiTiT added the type: enhancement New feature or request label Nov 19, 2024
Copy link
Member

@kalisp kalisp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Type hints shown, nothing breaks.

@iLLiCiTiT iLLiCiTiT merged commit e917a4b into develop Nov 22, 2024
2 checks passed
@iLLiCiTiT iLLiCiTiT deleted the enhancement/automated-api-fills-arguments branch November 22, 2024 13:31
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.

3 participants