Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docarray/array/abstract_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down