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
I am analysing the node ancestors using ancestors = list(node.ancestors()) and some are missing!
I would expect all ancestors to be: ['CoordinatorEntity', 'BaseCoordinatorEntity', 'Entity', 'object', 'ScannerEntity', 'BaseTrackerEntity']
But the display shows: ['CoordinatorEntity', 'BaseCoordinatorEntity', 'Entity', 'object']
It is missing ScannerEntity and BaseTrackerEntity
I am unsure if it is linked to pylint-dev/pylint#9138 or not.
I may be linked to the version of Python (I am unable to reproduce locally with python 3.12.3 - the CI is running python 3.12.7)
There are three instances of ValueError: generator already executing
Python 3.12.7Exception ignored in: <generator object raise_if_nothing_inferred.<locals>.inner at 0x7f2f6ba5ae40>Traceback (most recent call last): File "/home/runner/work/core/core/venv/lib/python3.12/site-packages/astroid/decorators.py", line 99, in inner yield from generatorValueError: generator already executingException ignored in: <generator object raise_if_nothing_inferred.<locals>.inner at 0x7f2f683ec340>Traceback (most recent call last): File "/home/runner/work/core/core/venv/lib/python3.12/site-packages/astroid/decorators.py", line 99, in inner yield from generatorValueError: generator already executingException ignored in: <generator object raise_if_nothing_inferred.<locals>.inner at 0x7f2f06355840>Traceback (most recent call last): File "/home/runner/work/core/core/venv/lib/python3.12/site-packages/astroid/decorators.py", line 99, in inner yield from generatorValueError: generator already executing...All ancestors for homeassistant.components.devolo_home_network.device_tracker.DevoloScannerEntity: ['CoordinatorEntity', 'BaseCoordinatorEntity', 'Entity', 'object']...************* Module homeassistant.components.devolo_home_network.device_trackerWarning: homeassistant/components/devolo_home_network/device_tracker.py:84:0: C7461: Derived CoordinatorEntity is recommended to be placed in the 'entity' module (hass-enforce-class-module)...Error: Process completed with exit code 16.
The text was updated successfully, but these errors were encountered:
Hi 👋
I've bumped into an issue in a pylint plugin at Home Assistant, where requesting ancestors from a node fails to retrieve the full list of ancestors.
I have a class defined as
I am analysing the node ancestors using
ancestors = list(node.ancestors())
and some are missing!I would expect all ancestors to be:
['CoordinatorEntity', 'BaseCoordinatorEntity', 'Entity', 'object', 'ScannerEntity', 'BaseTrackerEntity']
But the display shows:
['CoordinatorEntity', 'BaseCoordinatorEntity', 'Entity', 'object']
It is missing
ScannerEntity
andBaseTrackerEntity
See sample run on https://github.com/home-assistant/core/actions/runs/11589842191/job/32266212034?pr=129483
I am unsure if it is linked to pylint-dev/pylint#9138 or not.
I may be linked to the version of Python (I am unable to reproduce locally with python 3.12.3 - the CI is running python 3.12.7)
There are three instances of
ValueError: generator already executing
The text was updated successfully, but these errors were encountered: