Tamir Duberstein
Tamir Duberstein
I'm also seeing this, even without the use of a type alias. Inheriting from a generic class produces the same explosion. Something like: ```python from pydantic import BaseModel from typing...
@karmi this is still an issue exactly as described by @andruby. Please consider reopening this for discussion, at least.
Currently the only workaround: ``` Ruby article = Article.search('*').results.first def to_param(object) end article_path(to_param(article)) ```
@hauntsaninja
@hauntsaninja would you mind taking a look?
How do I make it xfail? mypy seems to have a bespoke testing framework.
Done, thanks.
@JelleZijlstra anything further?
jinja: looks like they're already using `cast`, so doesn't seem like a meaningful regression. https://github.com/pallets/jinja/blob/3fd91e4d11bdd131d8c12805177dbe74d85e7b82/src/jinja2/compiler.py#L56 nox: ditto, `cast` is used a few lines down. https://github.com/wntrblm/nox/blob/93bacbda291763171813f12cd3d0db97d852439e/nox/_decorators.py#L54-L56 jax: looks like a true...
What's next here?