Skip to content

[BUG] Type Hint issue with studies functions #2

@nachomaiz

Description

@nachomaiz

Describe the bug
A clear and concise description of what the bug is.

bavapi.studies and bavapi.Client.studies have the wrong type annotation for year_numbers. It is typing.Optional[int] but should be bavapi.typing.OptionalListOr[int]

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Windows]
  • IDE [e.g. Jupyter, VSCode]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions