diff --git a/docarray/array/abstract_array.py b/docarray/array/abstract_array.py index 4469dc5d6ff..fcfc3194764 100644 --- a/docarray/array/abstract_array.py +++ b/docarray/array/abstract_array.py @@ -99,6 +99,11 @@ def __getitem__(self: T, item: IndexIterType) -> T: def __getitem__(self, item: Union[int, IndexIterType]) -> Union[T_doc, T]: ... + def __getattr__(self, item: str): + # Needs to be explicitly defined here for the purpose to disable PyCharm's complaints + # about not detected properties: https://youtrack.jetbrains.com/issue/PY-47991 + return super().__getattribute__(item) + @abstractmethod def _get_data_column( self: T,