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

[BUG] ScopedParameterDict is not pep compatible according to beartype > 0.18 #3

Open
LaurenzBeck opened this issue Aug 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@LaurenzBeck
Copy link
Contributor

πŸ› Bug Report

I tried to remove all upper dependency bounds, but polars throws runtime exceptions if updated beyond 0.17.2

πŸ’» Reproducing the Bug

  1. update beartype
  2. run tests

πŸ“„πŸ–ΌοΈ Context and Screenshots

ERROR tests/unit/visualizations_test.py - beartype.roar.BeartypeDecorHintNonpepException: Method streamgen.parameter.store.ParameterStore.init() parameter "parameters" type hint <function TypedDict at 0x000002A458B21C60> either PEP-noncompliant or currently unsupported by @beartype.

πŸ€” Possible Solution

Switch to a different type hint for ScopedParameterDict

@LaurenzBeck LaurenzBeck added the bug Something isn't working label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant