You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 20, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 20, 2026. It is now read-only.
[BUG] 0.5.0 AttributeError Tuple has no attribute id #43
Traceback (most recent call last):
File "/home/runner/work/integrations-core/integrations-core/.tox/docs/lib/python3.8/site-packages/pytkdocs/cli.py", line 193, in main
output = json.dumps(process_json(line))
File "/home/runner/work/integrations-core/integrations-core/.tox/docs/lib/python3.8/site-packages/pytkdocs/cli.py", line 114, in process_json
return process_config(json.loads(json_input))
File "/home/runner/work/integrations-core/integrations-core/.tox/docs/lib/python3.8/site-packages/pytkdocs/cli.py", line 91, in process_config
obj = loader.get_object_documentation(path, members)
File "/home/runner/work/integrations-core/integrations-core/.tox/docs/lib/python3.8/site-packages/pytkdocs/loader.py", line 232, in get_object_documentation
root_object = self.get_class_documentation(leaf, members)
File "/home/runner/work/integrations-core/integrations-core/.tox/docs/lib/python3.8/site-packages/pytkdocs/loader.py", line 333, in get_class_documentation
merge(attributes_data, get_class_attributes(cls))
File "/home/runner/work/integrations-core/integrations-core/.tox/docs/lib/python3.8/site-packages/pytkdocs/parsers/attributes.py", line 127, in get_class_attributes
return combine(get_module_or_class_attributes(nodes[0].body), type_hints)
File "/home/runner/work/integrations-core/integrations-core/.tox/docs/lib/python3.8/site-packages/pytkdocs/parsers/attributes.py", line 85, in get_module_or_class_attributes
names = [target.id for target in assignment.targets]
File "/home/runner/work/integrations-core/integrations-core/.tox/docs/lib/python3.8/site-packages/pytkdocs/parsers/attributes.py", line 85, in <listcomp>
names = [target.id for target in assignment.targets]
AttributeError: 'Tuple' object has no attribute 'id'
Activity
fix: Fix parsing tuple unpacking assignment
pawamoy commentedon Jun 9, 2020
One build breakage, one 🤡! Sorry about that! It should be fixed in pytkdocs 0.5.1.
ofek commentedon Jun 9, 2020
Thanks!
pawamoy commentedon Jun 9, 2020
Closing, re-open if needed 🙂
[-][BUG] 0.5.0[/-][+][BUG] 0.5.0 AttributeError Tuple has no attribute id[/+]