-
### Describe the bug
Changes to a `gr.State` do not trigger a `render` decorator to re-render. This does not happen with other components (I've tested Textbox).
This only happens when updating the…
-
### Description
Hi!
I'm not sure if this is a bug report or feature request for unsupported use case.
I have a case where an argument could be either a Quantity or a string that will later be…
-
## We need more precise error logging for database entity decorators.
Such as incorrect entity typing should be more informative.
Right now we may get error like:
``ERROR: TypeError: Could not c…
-
I have a yielding generator that produces msgs into a topic.
I wish the following syntax was valid:
```python
import asyncio
import random
from contextlib import asynccontextmanager
from t…
-
It would be profoundly helpful to provide a walkthrough, demonstrating how to convert common existing decorator patterns, to use the wrapt package.
Take a simple case, of a decorator that measures …
-
I have the following decorator:
```
from typing import Type, Any
def generate_str(cls: Type) -> Type:
"""
Class decorator that auto generates __str__().
:param cls: class to modify…
-
### Steps to reproduce
See following code:
```python
import astroid
node = astroid.extract_node(
"""
import typing
typing.Tuple[int] #@
""")
for inferred in node.infer():…
yilei updated
2 years ago
-
There are [many benefits](https://realpython.com/lessons/pros-and-cons-type-hints/) to type hints that we can go over our next call. I've been holding off on proposing type hints until now because the…
-
I am using anyio with asyncio. It seems to me that the decorator messes with the async frameworks and causes the test to be skipped.
Example 1: this test is ignored with "SKIPPED (async def functio…
-
It would be great to have a decorator that would not need an explicit parameter signature , when all of a functions parameters were annotated using typing capabilities. If this possibily already exist…