Konrad Komorowski

Results 11 issues of Konrad Komorowski

Hey! So looking at the message in the logs I was concerned that the `requirements.txt` file was literally generated from `pyproject.toml`. Which in my mind meant not using the lock...

enhancement

**Describe the bug** The docstring both mentions that the first row meeting the criteria is returned, and that `MultipleMatches` exception is raised if more than 1 row is returned. **To...

bug

## Describe the Bug See this toy example schema with the newly detected type error in comments: ```python Slug = strawberry.scalar( str, serialize=lambda x: x, parse_value=lambda x: x, ) @strawberry.type...

bug

### TL;DR Would it be possible to cancel outstanding resolver tasks ~as soon as~ _before_ execution of a GraphQL operation is terminated? Outstanding / unused tasks can happen as a...

help wanted
investigate

Since we upgraded to v1.1.296 (which AFAIK [changed something about how node is packaged](https://github.com/RobertCraigie/pyright-python/releases/tag/v1.1.296)), Pyright became flaky in our Docker-based CI. I would estimate that maybe 1 in 10-20 PRs...

bug

## TL;DR Strawberry short-circuits the HTTP response whenever there is an uncaught exception. This reduces the latency, but leads to: ~(i) (a) incomplete and (b) nondeterministic responses~ (**edit:** _established in...

bug

## Feature Request Type - [ ] Core functionality - [X] Alteration (enhancement/optimization) of existing feature(s) - [ ] New behavior ## Need Since [1.1.328](https://github.com/microsoft/pyright/releases/tag/1.1.328) Pyright type checker has become...

**Describe the bug** We started to see a new type error in pyright `1.1.363` when type matching against enums using a `match` statement. Under some circumstances we see a false...

bug
regression

Hey! I've got a request similar to https://github.com/microsoft/pylance-release/issues/877 but related to class docstrings instead. See the code below: ```python class A: """ My docstring. """ class B(A): ... a =...

bug

I think https://github.com/strawberry-graphql/strawberry/pull/3554 introduce a static typing bug in the execution result attribute. It's statically typed as [graphql.ExecutionResult](https://github.com/graphql-python/graphql-core/blob/26701397d84338a42c7acbce78368ae8f9d97271/src/graphql/execution/incremental_publisher.py#L65-L128) type from `graphql-core`: https://github.com/strawberry-graphql/strawberry/blob/294114689c4a10de4924fa516538ffe797130a43/strawberry/types/execution.py#L25 https://github.com/strawberry-graphql/strawberry/blob/294114689c4a10de4924fa516538ffe797130a43/strawberry/types/execution.py#L56 But in reality it's this custom dataclass...

bug