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

Annotate commonly used param decorators #958

Open
gandhis1 opened this issue Aug 7, 2024 · 0 comments
Open

Annotate commonly used param decorators #958

gandhis1 opened this issue Aug 7, 2024 · 0 comments

Comments

@gandhis1
Copy link
Contributor

gandhis1 commented Aug 7, 2024

See holoviz/panel#7078 for more details

The highest ROI public interface typing improvements tend to be decorators as untyped decorators basically nuke the user's own type information, thus undermining static analysis checks in their own code.

List of decorators:

  • param.depends
  • param.parametrized.output
  • param.parameterized.iscoroutinefunction (needs to be a TypeGuard just like the inspect variant)
  • Any others that are widely used?

FYI @MarcSkovMadsen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant