Who is going to PyCon DE?
Welcome!
This is a community running Takahē.
Recent Posts
Released the new version of the @strawberry_gql playground!
It still uses Pyodide to run the Python code, but it also uses FastAPI, so now we can also test status codes and headers!
Try it here ⬇︎
https://play.strawberry.rocks/
@carlton would it be possible to get a new release of Asgiref out? looks like the version of main fixes some issues people are having with async Django and Strawberry 😊
I think that's the same issue I was having a while ago (where the server would just hang)
Just released an @astro extension that makes it easy to debug your Astro's website meta tags, below's an example of it in action.
I might add more features in future, but for now it has been quite useful already 😊
Find it here 👉 https://github.com/patrick91/astro-meta-tags
Does anyone know how if in #Python it is possible to define a generic class that infers the type of the generic from an attribute?
Something like this:
```
T = TypeVar("T")
class Example(Generic[T]):
Config: type[T]
configuration: T
class SubExample(Example):
Config = str
reveal_type(SubExample().configuration)
```
currently Pylance and Mypy complain about Example not being passed the TypeVar, I wonder if there's a different way to achieve this 👀