1
0
forked from VimPlug/jedi

Merge pull request #1935 from PeterJCLaw/fix-attrs-as-dataclass

Teach Jedi that `attrs`' `frozen` decorator also acts like a dataclass
This commit is contained in:
Dave Halter
2023-05-27 21:01:21 +00:00
committed by GitHub

View File

@@ -808,9 +808,11 @@ _implemented = {
# https://www.attrs.org/en/stable/names.html
'attr': {
'define': _dataclass,
'frozen': _dataclass,
},
'attrs': {
'define': _dataclass,
'frozen': _dataclass,
},
'os.path': {
'dirname': _create_string_input_function(os.path.dirname),