-
The documentation states that global permissions can be implemented as either `@staticmethod` or `@classmethod` on the model. The decorators (e.g. `@unauthenticated_users`) assume the first argument o…
-
this does not happen in upstreamed mypy
- [basedmypy playground](https://mypy-play.net/?mypy=basedmypy-2.3.0&python=3.12&gist=3dd058a366c3237bcfadcdb551c4ce9e)
- [mypy playground](https://mypy-pla…
-
`attrs`' decorators can ([and sometimes should](https://www.attrs.org/en/stable/extending.html#:~:text=A%20more%20elegant%20way%20can%20be%20to%20wrap%20attrs)) be wrapped, to create custom decorators…
-
BPO | [33077](https://bugs.python.org/issue33077)
--- | :---
Nosy | @gvanrossum, @rhettinger, @ericvsmith, @ilevkivskyi
Files | [python_test.py](https://bugs.python.org/file47487/python_test.py "Uploa…
-
**Bug Report**
There is occasional use for a method that exhibits different behaviours when accessed via an instance vs the class. SQLAlchemy has one such example named [hybrid_method (code)](https…
jace updated
10 months ago
-
At the moment, I wrote in #172 a mini-serialization library based on `dataclass`es, it is currently called `DictLike`.
Now, `dataclass` already provides natively `.asdict()` and `.from_dict()` anal…
-
## Wonderful! 😍❤️💕
It is not possible to see this and not think about typescript. How to share this type definition with a ts code without repeating that?
Is this possible to have the same featu…
-
### Question Validation
- [X] I have searched both the documentation and discord for an answer.
### Question
Hi, I'm using Groq() client in the llama_index.llms with the propertygraph feature…
-
Thanks for starting this package! Seems very useful.
I ran into an issue that I just wasn't able to debug fully. Do you have any idea?
**To reproduce**
* create a clean python 3.9 or 3.10 env cal…
-
I was using a `event_loop` fixture to use a custom event loop class, and noticed the warning from pytest to not do that and use an event loop policy instead. However, no matter how I define my policy …