-
**Feature**
mypy currently infers the type of `attrs.fields(foo)` as `Any`, where `foo` is an instance of an `attrs` class. Is it possible to have mypy infer the correct type?
With this setup:
…
-
Trying to make the JSONField input box wider, but attrs does not seem to work.
Could you please provide a template for JSONFormWidget attrs settings?
"JSONFormWidget
classJSONFormWidget(sc…
-
I have logidze on a model. That model tracks every attribute change.
I have a page that is visible to the user and on that page I want to show only versions where `value column` changed.
Here is…
-
Hi I am trying to follow the tutorial but I receive the following error with my data:
```
sdata = bt.io.prep(sdata)
---------------------------------------------------------------------------
Ke…
-
Discussion broken off from https://github.com/pandas-dev/pandas/issues/51280
PR #52152
Propagation of `attrs` in `__finalize__` is a small-but-everywhere performance hit that we should deprecate.
…
-
Related to https://github.com/astral-sh/ruff/issues/12172.
The [`attrs`](https://github.com/python-attrs/attrs) library, which is similar to `dataclasses`, uses decorators to allow you to define va…
my1e5 updated
4 weeks ago
-
For example, declare a node with `background-color` and a mark with `background-color`, the node `background-color` attribute will pass to the node's children.
```js
const s = new Schema({
node…
-
The `sect_attrs` field of a module can be used to find the base addresses of all of a module's loaded sections, then the module can be fully loaded into memory while preserving debuginfo with `add-sym…
-
```python
class QuantityWidget(MultiWidget):
def __init__(self, *, attrs=None, base_units=None, allowed_types=None):
self.ureg = ureg
choices = self.get_choices(allowed_types…
-
Currently the crs is duplicated in attrs and on the index.
The edge-case to handle is when you select with a scalar the index is dropped. In this case we may want to set it on the variable attrs in…