Doctor
Doctor
## Feature Request Type - [ ] Core functionality - [x] Alteration (enhancement/optimization) of existing feature(s) - [ ] New behavior ## Description Introduce a new interface for extension hooks...
First of all - it's an amazing set of best practices, I also want to share some things that I use: ### Project Structure `src` could be added to `PYTHONPATH`...
## strawberry.UNSET doesn't make parameters optional It's not possible to use `strawberry.UNSET` for optional parameters: ```py @strawberry.input class StrawberryUnset: a: int = strawberry.UNSET b: int = strawberry.UNSET @strawberry.type class Query:...
This PR changes value of `default` and `default_factory` to `dataclasses.MISSING` so `strawberry.UNSET` could be used to create optional fields in input types. ## Types of Changes - [ ] Core...
### Describe the solution you'd like Add `py.typed` marker according to https://peps.python.org/pep-0561/ As far as I know if you're using inline types adding empty `py.typed` file should work ### Describe...
Ruff version: 0.0.132 Ruff configuration: Default Ruff reports E999 (Syntax Error) for parenthesized context managers [that were introduced in python 3.10](https://docs.python.org/3/whatsnew/3.10.html#parenthesized-context-managers) This raises E999 ``` test.py:2:15: E999 SyntaxError: invalid syntax....
A lot of projects nest code under `src` directory by adding `src` to PYTHONPATH: ``` src/ some_package/ __init__.py ... main.py pyproject.toml ``` ```bash ruff . ``` ```bash src\main.py:1:1: INP001 File...
It's possible to modify function signature so it would always have a parameter with `Request` by assigning a new signature into `function.__signature__`, it should allow you to not use the...
Extends query documentation, adding examples with using decorator, arguments and `strawberry.argument` ## Description ## Types of Changes - [ ] Core - [ ] Bugfix - [ ] New feature...
**Describe the bug** It seems like at some point my smtp client is losing connection `client.is_connected` is None, and it hangs indefinitely if I call `client.connect()`. That problem may be...