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

Enforce positional-only parameters for public functions #18

Closed
davidfstr opened this issue Jun 5, 2022 · 0 comments
Closed

Enforce positional-only parameters for public functions #18

davidfstr opened this issue Jun 5, 2022 · 0 comments
Assignees
Labels
enhancement Enhancement to existing feature upstream Requires fix in dependency, or dependency upgrade

Comments

@davidfstr
Copy link
Owner

Several functions in the API Reference are documented as having positional-only parameters but in fact are not declared with those parameters as positional-only in the source code because positional-only parameters require Python 3.8 and trycast currently supports Python 3.7+.

Please declare these functions with actual positional-only parameters once support for Python 3.7 is dropped - scheduled for 27 Jun 2023 - and only Python 3.8+ support remains.

@davidfstr davidfstr added upstream Requires fix in dependency, or dependency upgrade enhancement Enhancement to existing feature labels Jun 5, 2022
@davidfstr davidfstr self-assigned this Dec 23, 2023
davidfstr added a commit that referenced this issue Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to existing feature upstream Requires fix in dependency, or dependency upgrade
Projects
None yet
Development

No branches or pull requests

1 participant