Jordan Speicher

Results 46 comments of Jordan Speicher

It looks like the way that the [pytest plugin](https://github.com/agronholm/anyio/blob/master/src/anyio/pytest_plugin.py#L94) works is by adding `anyio_backend` fixture to a test if it's marked as `anyio`, but this is executed during the `pytest_pycollect_makeitem`...

@chbndrhnns if your intention is to use anyio for all of your tests, it may be easiest to simple add something like this in your conftest.py: ```python @pytest.fixture(autouse=True) def anyio_backend_autouse(anyio_backend):...

Should the same be done for asyncio? There's many more asyncio-based libraries that could be converted. I'd be happy to contribute.

I'm not sure I agree with the idea that (all) asyncio-based libraries aren't worth the effort to port to anyio. I think there's a lot of async libraries that don't...

Hi, just wanted to mention that #1157 adds `anyio` integration, and also removes the old graphql app executor argument. Maybe that could be a candidate for a major version bump?

Could you please edit the title/description to specify that this only affects TestClient? A bit more context in the description as to what you're trying to achieve would help as...

> Sorry for the bump, but in my search for the `TaskStatus` type, I've landed here at this dead end. Did `TaskStatus` ever get exposed somewhere and is simply eluding...

@frafall would you be willing to open a PR? This is a really difficult problem to work around in my experience.

Just wanted to chime-in that I have a use-case for adding field configuration in `Annotated` types. Currently I'm using `Annotated` to denote parental relationship between objects: ```python from typing import...

That said, it could even be improved to allow insertion of field metadata via `Annotated`: ```python Parent = Annotated[T, Field(repr=False, metadata={"parent": True})] @attr.s class Driver: @property def parents(self) -> list[Driver]:...