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

Make click.Context generic over obj #2663

Closed
wants to merge 3 commits into from

Conversation

Viicos
Copy link

@Viicos Viicos commented Jan 6, 2024

This is backwards compatible, considering the type var will default to Any (as it is currently).

Checklist:

  • Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
  • Add or update relevant docs, in the docs folder and in code.
  • Add an entry in CHANGES.rst summarizing the change and linking to the issue.
  • Add .. versionchanged:: entries in any relevant code docs.
  • Run pre-commit hooks and fix any issues.
  • Run pytest and tox, no tests failed.

@AndreasBackx AndreasBackx added this to the 8.2.0 milestone Oct 26, 2024
@AndreasBackx AndreasBackx marked this pull request as draft October 26, 2024 12:30
@AndreasBackx AndreasBackx mentioned this pull request Oct 26, 2024
39 tasks
@AndreasBackx
Copy link
Collaborator

I gave this a quick shot, see my commit. I don't think this is feasible to implement in a convenient manner. I feel like you might have come across similar issues. I'll close this for now. If anyone has a good implementation PoC, feel free to create a new PR.

@AndreasBackx AndreasBackx removed this from the 8.2.0 milestone Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make click.Context generic for obj
2 participants