Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
inspections
/
PyDataclassInspection
/
uselessDunderAttrsPostInit.py
blob: 05b8100d4c099cd35c94121b64b25742388803b1 [
file
]
import
attr
@attr
.
dataclass
(
init
=
False
)
class
A1
:
x
:
int
=
0
def
<
warning descr
=
"'__attrs_post_init__' would not be called until 'init' parameter is set to True"
>
__attrs_post_init__
</
warning
>(
self
):
pass