StackOverflow Questions for Tag: python-attrs

mcocdawc
mcocdawc

Reputation: 1867

attrs and class variables

Score: 0

Views: 52

Answers: 1

Read More
I like Bananas
I like Bananas

Reputation: 119

Use attrs or_ validator with mypy

Score: 0

Views: 37

Answers: 1

Read More
mballu
mballu

Reputation: 3

cattrs : can I use a json converter in a class method to instantiate an object from a json file?

Score: 0

Views: 39

Answers: 1

Read More
maxwell_rob33
maxwell_rob33

Reputation: 127

Is there a way to signal an attrs class field so it won't be part of deepcopy / pickle?

Score: 0

Views: 26

Answers: 1

Read More
jackalack
jackalack

Reputation: 645

When and why should I use attr.Factory?

Score: 24

Views: 9680

Answers: 1

Read More
obk
obk

Reputation: 750

Enum of dataclass works but frozen attrs doesn't

Score: 0

Views: 53

Answers: 1

Read More

Unsupported converter, only named functions, types and lambdas are currently supported

Score: 0

Views: 122

Answers: 1

Read More

using attrs pre-commit mypy error: Unexpected keyword argument

Score: 0

Views: 593

Answers: 2

Read More
Al_
Al_

Reputation: 1

Pylint warnings with attrs

Score: 0

Views: 42

Answers: 1

Read More
Christian Sauer
Christian Sauer

Reputation: 10909

Attr: Deserialize deeply nested json?

Score: 3

Views: 626

Answers: 1

Read More
Mike
Mike

Reputation: 167

Interlinked validators using python attrs

Score: 0

Views: 33

Answers: 1

Read More
kuza
kuza

Reputation: 3041

How to achieve the reverse of "attr.asdict(MyObject)" using Python module 'attrs'

Score: 17

Views: 9900

Answers: 4

Read More
Tom Close
Tom Close

Reputation: 594

How to type dynamically created classes so mypy can lint them properly

Score: 2

Views: 765

Answers: 2

Read More
Chitaoji
Chitaoji

Reputation: 11

Pylance doesn't recognize attrs.field with converters

Score: 1

Views: 130

Answers: 1

Read More
Nico W.
Nico W.

Reputation: 348

How to solve "unexpected keyword argument" with python-attrs construct, so that mypy is happy?

Score: 3

Views: 2151

Answers: 1

Read More
Kikugie
Kikugie

Reputation: 51

Python attrs: Inheriting from class which values have default values raises error

Score: 5

Views: 4450

Answers: 2

Read More
Wör Du Schnaffzig
Wör Du Schnaffzig

Reputation: 1051

Annotating function argument accepting an instance of a class decorated with @define

Score: 0

Views: 342

Answers: 1

Read More
El Ruso
El Ruso

Reputation: 15901

pytype raise error with attrs default factory decorator

Score: 0

Views: 803

Answers: 0

Read More
Elia
Elia

Reputation: 822

attrs convert list[str] to list[float]

Score: 4

Views: 570

Answers: 2

Read More
devKanapka
devKanapka

Reputation: 83

How to annotate attrs field with validator?

Score: 0

Views: 1040

Answers: 1

Read More
PreviousPage 1Next