GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — docarray/docarray/array/base.py at docarray-v1-fixes · docarray/docarray
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Expand file tree/ Copy pathbase.pyMore file actions 18 lines (13 loc) · 563 Bytes / Copy pathbase.pyFile metadata and controls18 lines (13 loc) · 563 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 from typing import MutableSequence, TYPE_CHECKING, Union, Iterable from docarray import Document if TYPE_CHECKING: # pragma: no cover from docarray.typing import T class BaseDocumentArray(MutableSequence[Document]): def __init__(self, *args, storage: str = 'memory', **kwargs): super().__init__() self._init_storage(*args, **kwargs) self._init_subindices(*args, **kwargs) def __add__(self: 'T', other: Union['Document', Iterable['Document']]) -> 'T': v = type(self)(self) v.extend(other) return v |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |