You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it is only possible to get insights from the refinement types at runtime, via the @refined decorator. Ideally, it should also be possible to get insights with static type checking tools such as mypy or pyright.
One way to do it is by creating "plugins". Moreover, should we rework the type-checking methods in the library so it could work with multiple "targets" (i.e. runtime checks with @refined, and build-time checks with e.g. mypy)?
The text was updated successfully, but these errors were encountered:
Currently, it is only possible to get insights from the refinement types at runtime, via the
@refined
decorator. Ideally, it should also be possible to get insights with static type checking tools such asmypy
orpyright
.One way to do it is by creating "plugins". Moreover, should we rework the type-checking methods in the library so it could work with multiple "targets" (i.e. runtime checks with
@refined
, and build-time checks with e.g.mypy
)?The text was updated successfully, but these errors were encountered: