Skip to content

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

@LaurenzBeck

Description

@LaurenzBeck

πŸ› 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions