SYMBOL INDEX (2012 symbols across 98 files) FILE: asv_bench/benchmarks/backend_comparisons.py class _WriterSuite (line 14) | class _WriterSuite: method setup (line 24) | def setup(self, backend): method teardown (line 66) | def teardown(self, backend): method write (line 71) | def write(self, backend): class Write_50by50by20_300_samples (line 84) | class Write_50by50by20_300_samples(_WriterSuite): class _ReaderSuite (line 93) | class _ReaderSuite: method setup_cache (line 104) | def setup_cache(self): method setup (line 159) | def setup(self, backend): method teardown (line 170) | def teardown(self, backend): method read (line 174) | def read(self, backend): class Read_50by50by10_3000_samples (line 180) | class Read_50by50by10_3000_samples(_ReaderSuite): FILE: asv_bench/benchmarks/backends/hdf5_00.py class _WriterSuite_HDF5_00 (line 10) | class _WriterSuite_HDF5_00: method setup (line 18) | def setup(self): method teardown (line 63) | def teardown(self): method read (line 68) | def read(self): method write (line 73) | def write(self): method size (line 82) | def size(self): class Write_50by50by10_1_samples (line 86) | class Write_50by50by10_1_samples(_WriterSuite_HDF5_00): class Write_50by50by10_100_samples (line 94) | class Write_50by50by10_100_samples(_WriterSuite_HDF5_00): class Read_50by50by10_1_samples (line 104) | class Read_50by50by10_1_samples(_WriterSuite_HDF5_00): class Read_50by50by10_100_samples (line 111) | class Read_50by50by10_100_samples(_WriterSuite_HDF5_00): class Read_50by50by10_300_samples (line 118) | class Read_50by50by10_300_samples(_WriterSuite_HDF5_00): FILE: asv_bench/benchmarks/backends/hdf5_01.py class _WriterSuite_HDF5_01 (line 10) | class _WriterSuite_HDF5_01: method setup (line 18) | def setup(self): method teardown (line 66) | def teardown(self): method read (line 71) | def read(self): method write (line 76) | def write(self): method size (line 85) | def size(self): class Write_50by50by10_1_samples (line 89) | class Write_50by50by10_1_samples(_WriterSuite_HDF5_01): class Write_50by50by10_100_samples (line 97) | class Write_50by50by10_100_samples(_WriterSuite_HDF5_01): class Read_50by50by10_1_samples (line 107) | class Read_50by50by10_1_samples(_WriterSuite_HDF5_01): class Read_50by50by10_100_samples (line 114) | class Read_50by50by10_100_samples(_WriterSuite_HDF5_01): class Read_50by50by10_300_samples (line 121) | class Read_50by50by10_300_samples(_WriterSuite_HDF5_01): FILE: asv_bench/benchmarks/backends/numpy_10.py class _WriterSuite_NUMPY_10 (line 10) | class _WriterSuite_NUMPY_10: method setup (line 18) | def setup(self): method teardown (line 63) | def teardown(self): method read (line 68) | def read(self): method write (line 73) | def write(self): method size (line 82) | def size(self): class Write_50by50by10_1_samples (line 86) | class Write_50by50by10_1_samples(_WriterSuite_NUMPY_10): class Write_50by50by10_100_samples (line 94) | class Write_50by50by10_100_samples(_WriterSuite_NUMPY_10): class Read_50by50by10_1_samples (line 104) | class Read_50by50by10_1_samples(_WriterSuite_NUMPY_10): class Read_50by50by10_100_samples (line 111) | class Read_50by50by10_100_samples(_WriterSuite_NUMPY_10): class Read_50by50by10_300_samples (line 118) | class Read_50by50by10_300_samples(_WriterSuite_NUMPY_10): FILE: asv_bench/benchmarks/commit_and_checkout.py class MakeCommit (line 7) | class MakeCommit(object): method setup (line 16) | def setup(self, num_samples): method teardown (line 34) | def teardown(self, num_samples): method time_commit (line 39) | def time_commit(self, num_samples): class CheckoutCommit (line 43) | class CheckoutCommit(object): method setup (line 52) | def setup(self, num_samples): method teardown (line 73) | def teardown(self, num_samples): method time_checkout_read_only (line 81) | def time_checkout_read_only(self, num_samples): method time_checkout_write_enabled (line 84) | def time_checkout_write_enabled(self, num_samples): FILE: asv_bench/benchmarks/package.py class TimeImport (line 3) | class TimeImport(object): method timeraw_import (line 8) | def timeraw_import(self): FILE: setup.py class LazyCommandClass (line 35) | class LazyCommandClass(dict): method __contains__ (line 41) | def __contains__(self, key): method __setitem__ (line 44) | def __setitem__(self, key, value): method __getitem__ (line 49) | def __getitem__(self, key): method make_build_ext_cmd (line 59) | def make_build_ext_cmd(self): method make_bdist_wheel_cmd (line 79) | def make_bdist_wheel_cmd(self): method make_sdist_cmd (line 91) | def make_sdist_cmd(self): FILE: src/hangar/_version.py class InfinityType (line 34) | class InfinityType(object): method __repr__ (line 37) | def __repr__(self) -> str: method __hash__ (line 40) | def __hash__(self) -> int: method __lt__ (line 43) | def __lt__(self, other: object) -> bool: method __le__ (line 46) | def __le__(self, other: object) -> bool: method __eq__ (line 49) | def __eq__(self, other: object) -> bool: method __ne__ (line 52) | def __ne__(self, other: object) -> bool: method __gt__ (line 55) | def __gt__(self, other: object) -> bool: method __ge__ (line 58) | def __ge__(self, other: object) -> bool: method __neg__ (line 61) | def __neg__(self) -> 'NegativeInfinityType': class NegativeInfinityType (line 68) | class NegativeInfinityType(object): method __repr__ (line 71) | def __repr__(self) -> str: method __hash__ (line 74) | def __hash__(self) -> int: method __lt__ (line 77) | def __lt__(self, other: object) -> bool: method __le__ (line 80) | def __le__(self, other: object) -> bool: method __eq__ (line 83) | def __eq__(self, other: object) -> bool: method __ne__ (line 86) | def __ne__(self, other: object) -> bool: method __gt__ (line 89) | def __gt__(self, other: object) -> bool: method __ge__ (line 92) | def __ge__(self, other: object) -> bool: method __neg__ (line 95) | def __neg__(self) -> InfinityType: function parse (line 127) | def parse(version: str) -> Union['Version']: class InvalidVersion (line 135) | class InvalidVersion(ValueError): class _BaseVersion (line 142) | class _BaseVersion(object): method __init__ (line 146) | def __init__(self): method __hash__ (line 149) | def __hash__(self) -> int: method __lt__ (line 152) | def __lt__(self, other: '_BaseVersion') -> bool: method __le__ (line 155) | def __le__(self, other: '_BaseVersion') -> bool: method __eq__ (line 158) | def __eq__(self, other: object) -> bool: method __ge__ (line 161) | def __ge__(self, other: '_BaseVersion') -> bool: method __gt__ (line 164) | def __gt__(self, other: '_BaseVersion') -> bool: method __ne__ (line 167) | def __ne__(self, other: object) -> bool: method _compare (line 170) | def _compare(self, other: object, method: 'VersionComparisonMethod' class Version (line 213) | class Version(_BaseVersion): # lgtm [py/missing-equals] method __init__ (line 217) | def __init__(self, version: str) -> None: method __repr__ (line 247) | def __repr__(self) -> str: method __str__ (line 250) | def __str__(self) -> str: method epoch (line 279) | def epoch(self) -> int: method release (line 284) | def release(self) -> Tuple[int, ...]: method pre (line 289) | def pre(self) -> Optional[Tuple[str, int]]: method post (line 294) | def post(self) -> Optional[Tuple[str, int]]: method dev (line 298) | def dev(self) -> Optional[Tuple[str, int]]: method local (line 302) | def local(self) -> Optional[str]: method public (line 309) | def public(self) -> str: method base_version (line 313) | def base_version(self) -> str: method is_prerelease (line 326) | def is_prerelease(self) -> bool: method is_postrelease (line 330) | def is_postrelease(self) -> bool: method is_devrelease (line 334) | def is_devrelease(self) -> bool: method major (line 338) | def major(self) -> int: method minor (line 342) | def minor(self) -> int: method micro (line 346) | def micro(self) -> int: function _parse_letter_version (line 350) | def _parse_letter_version( function _parse_local_version (line 390) | def _parse_local_version(local: str) -> Optional['LocalType']: function _cmpkey (line 402) | def _cmpkey( FILE: src/hangar/backends/chunk.py function _csformula (line 21) | def _csformula(expected_mb): function _limit_es (line 31) | def _limit_es(expected_mb): function _calc_chunksize (line 41) | def _calc_chunksize(expected_mb): function _rowsize (line 63) | def _rowsize(shape, maindim, itemsize): function calc_chunkshape (line 90) | def calc_chunkshape(shape, expectedrows, itemsize, maindim): FILE: src/hangar/backends/hdf5_00.py function hdf5_00_encode (line 212) | def hdf5_00_encode(uid: str, cksum: str, dset: int, dset_idx: int, shape... class BloscCompressionOptions (line 248) | class BloscCompressionOptions(Descriptor): class GzipCompressionOptions (line 256) | class GzipCompressionOptions(Descriptor): class LzfCompressionOptions (line 264) | class LzfCompressionOptions(Descriptor): class AllowedDtypes (line 271) | class AllowedDtypes(Descriptor): class HDF5_00_Options (line 279) | class HDF5_00_Options(metaclass=checkedmeta): method __init__ (line 287) | def __init__(self, backend_options, dtype, shape, *args, **kwargs): method _verify_data_nbytes_larger_than_clib_min (line 303) | def _verify_data_nbytes_larger_than_clib_min(self): method default_options (line 319) | def default_options(self): method backend_options (line 329) | def backend_options(self): method init_requires (line 333) | def init_requires(self): class HDF5_00_FileHandles (line 340) | class HDF5_00_FileHandles(object): method __init__ (line 348) | def __init__(self, repo_path: Path, schema_shape: tuple, schema_dtype:... method __enter__ (line 373) | def __enter__(self): method __exit__ (line 376) | def __exit__(self, *exc): method __getstate__ (line 383) | def __getstate__(self) -> dict: method __setstate__ (line 395) | def __setstate__(self, state: dict) -> None: # pragma: no cover method backend_opts (line 407) | def backend_opts(self): method _backend_opts_set (line 411) | def _backend_opts_set(self, val): method backend_opts (line 418) | def backend_opts(self, value): method open (line 433) | def open(self, mode: str, *, remote_operation: bool = False): method close (line 466) | def close(self): method delete_in_process_data (line 499) | def delete_in_process_data(repo_path: Path, *, remote_operation=False)... method _dataset_opts (line 526) | def _dataset_opts(complib: str, complevel: int, shuffle: Union[bool, s... method _chunk_opts (line 596) | def _chunk_opts(sample_array: np.ndarray, max_chunk_nbytes: int) -> Tu... method _create_schema (line 626) | def _create_schema(self, *, remote_operation: bool = False): method read_data (line 732) | def read_data(self, hashVal: HDF5_00_DataHashSpec) -> np.ndarray: method write_data (line 803) | def write_data(self, array: np.ndarray, *, remote_operation: bool = Fa... FILE: src/hangar/backends/hdf5_01.py function hdf5_01_encode (line 250) | def hdf5_01_encode(uid: str, cksum: str, dset: int, dset_idx: int, class BloscCompressionOptions (line 287) | class BloscCompressionOptions(Descriptor): class GzipCompressionOptions (line 295) | class GzipCompressionOptions(Descriptor): class LzfCompressionOptions (line 303) | class LzfCompressionOptions(Descriptor): class AllowedDtypes (line 310) | class AllowedDtypes(Descriptor): class HDF5_01_Options (line 316) | class HDF5_01_Options(metaclass=checkedmeta): method __init__ (line 324) | def __init__(self, backend_options, dtype, shape, *args, **kwargs): method _verify_data_nbytes_larger_than_clib_min (line 340) | def _verify_data_nbytes_larger_than_clib_min(self): method default_options (line 356) | def default_options(self): method backend_options (line 366) | def backend_options(self): method init_requires (line 370) | def init_requires(self): class HDF5_01_FileHandles (line 377) | class HDF5_01_FileHandles(object): method __init__ (line 385) | def __init__(self, repo_path: Path, schema_shape: tuple, schema_dtype:... method __enter__ (line 410) | def __enter__(self): method __exit__ (line 413) | def __exit__(self, *exc): method __getstate__ (line 420) | def __getstate__(self) -> dict: method __setstate__ (line 432) | def __setstate__(self, state: dict) -> None: # pragma: no cover method backend_opts (line 444) | def backend_opts(self): method _backend_opts_set (line 448) | def _backend_opts_set(self, val): method backend_opts (line 455) | def backend_opts(self, value): method open (line 470) | def open(self, mode: str, *, remote_operation: bool = False): method close (line 503) | def close(self): method delete_in_process_data (line 536) | def delete_in_process_data(repo_path: Path, *, remote_operation=False)... method _dataset_opts (line 563) | def _dataset_opts(complib: str, complevel: int, shuffle: Union[bool, s... method _create_schema (line 632) | def _create_schema(self, *, remote_operation: bool = False): method read_data (line 743) | def read_data(self, hashVal: HDF5_01_DataHashSpec) -> np.ndarray: method write_data (line 810) | def write_data(self, array: np.ndarray, *, remote_operation: bool = Fa... FILE: src/hangar/backends/lmdb_30.py function _lexicographic_keys (line 114) | def _lexicographic_keys(): function lmdb_30_encode (line 131) | def lmdb_30_encode(uid: str, row_idx: int, checksum: str) -> bytes: class AllowedDtypes (line 137) | class AllowedDtypes(Descriptor): class LMDB_30_Options (line 141) | class LMDB_30_Options(metaclass=checkedmeta): method __init__ (line 145) | def __init__(self, backend_options, dtype, *args, **kwargs): method default_options (line 152) | def default_options(self): method backend_options (line 156) | def backend_options(self): method init_requires (line 160) | def init_requires(self): class LMDB_30_FileHandles (line 164) | class LMDB_30_FileHandles: method __init__ (line 166) | def __init__(self, repo_path: Path, *args, **kwargs): method __enter__ (line 185) | def __enter__(self): method __exit__ (line 189) | def __exit__(self, *exc): method __getstate__ (line 193) | def __getstate__(self) -> dict: method __setstate__ (line 203) | def __setstate__(self, state: dict) -> None: # pragma: no cover method backend_opts (line 212) | def backend_opts(self): method _backend_opts_set (line 216) | def _backend_opts_set(self, val): method backend_opts (line 223) | def backend_opts(self, value): method open (line 238) | def open(self, mode: str, *, remote_operation: bool = False): method close (line 271) | def close(self): method delete_in_process_data (line 295) | def delete_in_process_data(repo_path: Path, *, remote_operation=False)... method _create_schema (line 322) | def _create_schema(self, *, remote_operation: bool = False): method read_data (line 334) | def read_data(self, hashVal: LMDB_30_DataHashSpec) -> str: method write_data (line 370) | def write_data(self, data: str, *, remote_operation: bool = False) -> ... FILE: src/hangar/backends/lmdb_31.py function _lexicographic_keys (line 114) | def _lexicographic_keys(): function lmdb_31_encode (line 131) | def lmdb_31_encode(uid: str, row_idx: int, checksum: str) -> bytes: class AllowedDtypes (line 137) | class AllowedDtypes(Descriptor): class LMDB_31_Options (line 141) | class LMDB_31_Options(metaclass=checkedmeta): method __init__ (line 145) | def __init__(self, backend_options, dtype, *args, **kwargs): method default_options (line 152) | def default_options(self): method backend_options (line 156) | def backend_options(self): method init_requires (line 160) | def init_requires(self): class LMDB_31_FileHandles (line 164) | class LMDB_31_FileHandles: method __init__ (line 166) | def __init__(self, repo_path: Path, *args, **kwargs): method __enter__ (line 185) | def __enter__(self): method __exit__ (line 189) | def __exit__(self, *exc): method __getstate__ (line 193) | def __getstate__(self) -> dict: method __setstate__ (line 203) | def __setstate__(self, state: dict) -> None: # pragma: no cover method backend_opts (line 212) | def backend_opts(self): method _backend_opts_set (line 216) | def _backend_opts_set(self, val): method backend_opts (line 223) | def backend_opts(self, value): method open (line 238) | def open(self, mode: str, *, remote_operation: bool = False): method close (line 271) | def close(self): method delete_in_process_data (line 295) | def delete_in_process_data(repo_path: Path, *, remote_operation=False)... method _create_schema (line 322) | def _create_schema(self, *, remote_operation: bool = False): method read_data (line 334) | def read_data(self, hashVal: LMDB_31_DataHashSpec) -> str: method write_data (line 369) | def write_data(self, data: bytes, *, remote_operation: bool = False) -... FILE: src/hangar/backends/numpy_10.py function numpy_10_encode (line 106) | def numpy_10_encode(uid: str, cksum: str, collection_idx: int, shape: tu... class AllowedDtypes (line 137) | class AllowedDtypes(Descriptor): class NUMPY_10_Options (line 143) | class NUMPY_10_Options(metaclass=checkedmeta): method __init__ (line 147) | def __init__(self, backend_options, dtype, *args, **kwargs): method default_options (line 155) | def default_options(self): method backend_options (line 159) | def backend_options(self): method init_requires (line 163) | def init_requires(self): class NUMPY_10_FileHandles (line 167) | class NUMPY_10_FileHandles(object): method __init__ (line 169) | def __init__(self, repo_path: Path, schema_shape: tuple, schema_dtype:... method __getstate__ (line 190) | def __getstate__(self) -> dict: method __setstate__ (line 200) | def __setstate__(self, state: dict) -> None: # pragma: no cover method __enter__ (line 209) | def __enter__(self): method __exit__ (line 212) | def __exit__(self, *exc): method backend_opts (line 217) | def backend_opts(self): method _backend_opts_set (line 221) | def _backend_opts_set(self, val): method backend_opts (line 228) | def backend_opts(self, value): method open (line 243) | def open(self, mode: str, *, remote_operation: bool = False): method close (line 271) | def close(self, *args, **kwargs): method delete_in_process_data (line 286) | def delete_in_process_data(repo_path: Path, *, remote_operation: bool ... method _create_schema (line 312) | def _create_schema(self, *, remote_operation: bool = False): method read_data (line 336) | def read_data(self, hashVal: NUMPY_10_DataHashSpec) -> np.ndarray: method write_data (line 394) | def write_data(self, array: np.ndarray, *, remote_operation: bool = Fa... FILE: src/hangar/backends/remote_50.py function remote_50_encode (line 70) | def remote_50_encode(schema_hash: str = '') -> bytes: class REMOTE_50_Options (line 84) | class REMOTE_50_Options(metaclass=checkedmeta): method __init__ (line 87) | def __init__(self, backend_options, *args, **kwargs): method default_options (line 93) | def default_options(self): method backend_options (line 97) | def backend_options(self): method init_requires (line 101) | def init_requires(self): class REMOTE_50_Handler (line 105) | class REMOTE_50_Handler(object): method __init__ (line 107) | def __init__(self, repo_path: Path, *args, **kwargs): method __enter__ (line 112) | def __enter__(self): method __exit__ (line 115) | def __exit__(self, *exc): method __getstate__ (line 119) | def __getstate__(self) -> dict: # pragma: no cover method __setstate__ (line 126) | def __setstate__(self, state: dict) -> None: # pragma: no cover method backend_opts (line 133) | def backend_opts(self): method _backend_opts_set (line 137) | def _backend_opts_set(self, val): method backend_opts (line 144) | def backend_opts(self, value): method open (line 159) | def open(self, mode, *args, **kwargs): method close (line 163) | def close(self, *args, **kwargs): method delete_in_process_data (line 167) | def delete_in_process_data(*args, **kwargs) -> None: method read_data (line 172) | def read_data(self, hashVal: REMOTE_50_DataHashSpec) -> None: method write_data (line 177) | def write_data(self, schema_hash: str, *args, **kwargs) -> bytes: FILE: src/hangar/bulk_importer.py class UDF_Return (line 114) | class UDF_Return(NamedTuple): method __eq__ (line 130) | def __eq__(self, other): function run_bulk_import (line 147) | def run_bulk_import( class _ContentDescriptionPrep (line 401) | class _ContentDescriptionPrep(NamedTuple): method db_record_key (line 408) | def db_record_key(self): method db_record_val (line 417) | def db_record_val(self): class _Task (line 421) | class _Task(NamedTuple): method num_steps (line 426) | def num_steps(self): class _WrittenContentDescription (line 430) | class _WrittenContentDescription(NamedTuple): function _num_steps_in_task_list (line 444) | def _num_steps_in_task_list(task_list: List[_Task]) -> int: function _serialize_udf (line 449) | def _serialize_udf(udf: UDF_T) -> bytes: function _deserialize_udf (line 454) | def _deserialize_udf(raw: bytes) -> UDF_T: function _process_num_cpus (line 459) | def _process_num_cpus(ncpus: int) -> int: function _check_user_input_func (line 483) | def _check_user_input_func( class _MPQueue (line 562) | class _MPQueue(mpq.Queue): method __init__ (line 566) | def __init__(self, *args, **kwargs): method safe_get (line 570) | def safe_get(self, timeout=0.5): method safe_put (line 579) | def safe_put(self, item, timeout=0.5) -> bool: method drain (line 586) | def drain(self): method safe_close (line 592) | def safe_close(self) -> int: class _BatchProcessPrepare (line 599) | class _BatchProcessPrepare(mp.Process): method __init__ (line 601) | def __init__( method _setup (line 639) | def _setup(self): method _input_tasks (line 642) | def _input_tasks(self) -> Iterator[List[dict]]: method run (line 648) | def run(self): function _run_prepare_recipe (line 677) | def _run_prepare_recipe( class _BatchProcessWriter (line 743) | class _BatchProcessWriter(mp.Process): method __init__ (line 745) | def __init__( method _setup (line 785) | def _setup(self): method _input_tasks (line 802) | def _input_tasks(self) -> Iterator[List[_Task]]: method _enter_backends (line 809) | def _enter_backends(self): method run (line 818) | def run(self): function _run_write_recipe_data (line 846) | def _run_write_recipe_data( function _unify_recipe_contents (line 917) | def _unify_recipe_contents(recipe: List[Tuple[dict, List[_ContentDescrip... function _reduce_recipe_on_required_digests (line 936) | def _reduce_recipe_on_required_digests(recipe: List[Tuple[dict, List[_Co... function _write_digest_to_bespec_mapping (line 997) | def _write_digest_to_bespec_mapping( function _write_full_recipe_sample_key_to_digest_mapping (line 1021) | def _write_full_recipe_sample_key_to_digest_mapping( function _mock_hangar_directory_structure (line 1041) | def _mock_hangar_directory_structure(dir_name: str) -> Path: function _move_tmpdir_data_files_to_repodir (line 1063) | def _move_tmpdir_data_files_to_repodir(repodir: Path, tmpdir: Path): FILE: src/hangar/checkout.py class ReaderCheckout (line 36) | class ReaderCheckout(GetMixin, CheckoutDictIteration): method __init__ (line 80) | def __init__(self, method _repr_pretty_ (line 123) | def _repr_pretty_(self, p, cycle): method __repr__ (line 133) | def __repr__(self): method __enter__ (line 142) | def __enter__(self): method __exit__ (line 151) | def __exit__(self, *exc): method _verify_alive (line 155) | def _verify_alive(self): method _is_conman (line 170) | def _is_conman(self) -> bool: method columns (line 175) | def columns(self) -> Columns: method diff (line 213) | def diff(self) -> ReaderUserDiff: method commit_hash (line 233) | def commit_hash(self) -> str: method log (line 248) | def log(self, method close (line 299) | def close(self) -> None: class WriterCheckout (line 321) | class WriterCheckout(GetMixin, CheckoutDictIteration): method __init__ (line 359) | def __init__(self, method _repr_pretty_ (line 407) | def _repr_pretty_(self, p, cycle): method __repr__ (line 417) | def __repr__(self): method __enter__ (line 428) | def __enter__(self): method __exit__ (line 437) | def __exit__(self, *exc): method _is_conman (line 442) | def _is_conman(self): method _verify_alive (line 446) | def _verify_alive(self): method _setup (line 476) | def _setup(self): method columns (line 533) | def columns(self) -> Columns: method diff (line 579) | def diff(self) -> WriterUserDiff: method branch_name (line 599) | def branch_name(self) -> str: method commit_hash (line 611) | def commit_hash(self) -> str: method log (line 624) | def log(self, method add_str_column (line 675) | def add_str_column(self, method add_bytes_column (line 756) | def add_bytes_column(self, method add_ndarray_column (line 837) | def add_ndarray_column(self, method _initialize_new_column (line 959) | def _initialize_new_column(self, method merge (line 1009) | def merge(self, message: str, dev_branch: str) -> str: method commit (line 1058) | def commit(self, commit_message: str) -> str: method reset_staging_area (line 1110) | def reset_staging_area(self, *, force=False) -> str: method close (line 1175) | def close(self) -> None: FILE: src/hangar/cli/cli.py function main (line 34) | def main(ctx): # pragma: no cover function init (line 48) | def init(repo: Repository, name, email, overwrite): function writer_lock_held (line 64) | def writer_lock_held(repo: Repository, force_release_): function checkout (line 87) | def checkout(repo: Repository, branchname): function commit (line 107) | def commit(repo: Repository, message): function column (line 152) | def column(ctx): # pragma: no cover function create_column (line 170) | def create_column(repo: Repository, name, dtype, shape, variable_, subsa... function remove_column (line 237) | def remove_column(repo: Repository, name): function clone (line 266) | def clone(repo: Repository, remote, name, email, overwrite): function fetch_records (line 282) | def fetch_records(repo: Repository, remote, branch): function fetch_data (line 300) | def fetch_data(repo: Repository, remote, startpoint, column, all_): function push (line 333) | def push(repo: Repository, remote, branch): function remote (line 345) | def remote(ctx): # pragma: no cover function list_remotes (line 353) | def list_remotes(repo: Repository): function add_remote (line 363) | def add_remote(repo: Repository, name, address): function remove_remote (line 375) | def remove_remote(repo: Repository, name): function diff (line 390) | def diff(repo: Repository, dev, master): function summary (line 419) | def summary(repo: Repository, startpoint): function log (line 441) | def log(repo: Repository, startpoint): function status (line 460) | def status(repo: Repository): function branch (line 477) | def branch(ctx): # pragma: no cover function branch_list (line 485) | def branch_list(repo: Repository): function branch_create (line 497) | def branch_create(repo: Repository, name, startpoint): function branch_remove (line 533) | def branch_remove(repo: Repository, name, force): function server (line 558) | def server(overwrite, ip, port, timeout): function import_data (line 613) | def import_data(ctx, repo: Repository, column, path, branch, plugin, ove... function export_data (line 683) | def export_data(ctx, repo: Repository, column, outdir, startpoint, sampl... function view_data (line 742) | def view_data(ctx, repo: Repository, column, sample, startpoint, format_... function lmdb_record_details (line 785) | def lmdb_record_details(repo: Repository, a, b, r, d, s, z, limit): FILE: src/hangar/cli/utils.py class StrOrIntType (line 4) | class StrOrIntType(click.ParamType): method convert (line 9) | def convert(self, value, param, ctx): function parse_custom_arguments (line 25) | def parse_custom_arguments(click_args: list) -> dict: FILE: src/hangar/columns/column.py class Columns (line 33) | class Columns: method __init__ (line 43) | def __init__(self, method _open (line 90) | def _open(self): method _close (line 94) | def _close(self): method _destruct (line 98) | def _destruct(self): method __getattr__ (line 107) | def __getattr__(self, name): method _repr_pretty_ (line 123) | def _repr_pretty_(self, p, cycle): method __repr__ (line 133) | def __repr__(self): method _ipython_key_completions_ (line 140) | def _ipython_key_completions_(self): method __getitem__ (line 154) | def __getitem__(self, key: str) -> ModifierTypes: method __contains__ (line 174) | def __contains__(self, key: str) -> bool: method __len__ (line 190) | def __len__(self) -> int: method __iter__ (line 195) | def __iter__(self) -> Iterable[str]: method _is_conman (line 199) | def _is_conman(self): method _any_is_conman (line 202) | def _any_is_conman(self) -> bool: method __enter__ (line 213) | def __enter__(self): method __exit__ (line 221) | def __exit__(self, *exc): method iswriteable (line 226) | def iswriteable(self) -> bool: method contains_remote_references (line 232) | def contains_remote_references(self) -> Mapping[str, bool]: method remote_sample_keys (line 248) | def remote_sample_keys(self) -> Mapping[str, Iterable[Union[int, str]]]: method keys (line 262) | def keys(self) -> List[str]: method values (line 272) | def values(self) -> Iterable[ModifierTypes]: method items (line 285) | def items(self) -> Iterable[Tuple[str, ModifierTypes]]: method get (line 297) | def get(self, name: str) -> ModifierTypes: method __delitem__ (line 318) | def __delitem__(self, key: str) -> str: method delete (line 344) | def delete(self, column: str) -> str: method _from_staging_area (line 397) | def _from_staging_area(cls, repo_pth, hashenv, stageenv, stagehashenv): method _from_commit (line 458) | def _from_commit(cls, repo_pth, hashenv, cmtrefenv): FILE: src/hangar/columns/common.py class ColumnTxn (line 9) | class ColumnTxn(object): method __init__ (line 23) | def __init__(self, dataenv, hashenv, stagehashenv): method _debug_ (line 35) | def _debug_(self): # pragma: no cover method open_read (line 46) | def open_read(self): method close_read (line 53) | def close_read(self): method open_write (line 59) | def open_write(self): method close_write (line 67) | def close_write(self): method read (line 75) | def read(self): method write (line 87) | def write(self): function open_file_handles (line 99) | def open_file_handles(backends, path, mode, schema, *, remote_operation=... FILE: src/hangar/columns/constructors.py function column_type_object_from_schema (line 40) | def column_type_object_from_schema(schema: dict): function _warn_remote (line 51) | def _warn_remote(aset_name): function _flat_load_sample_keys_and_specs (line 61) | def _flat_load_sample_keys_and_specs(column_name, txnctx): function generate_flat_column (line 92) | def generate_flat_column(txnctx, column_name, path, schema, mode): function _nested_load_sample_keys_and_specs (line 147) | def _nested_load_sample_keys_and_specs(column_name, txnctx): function generate_nested_column (line 179) | def generate_nested_column(txnctx, column_name, path, schema, mode): FILE: src/hangar/columns/introspection.py function is_column (line 10) | def is_column(obj) -> bool: function is_writer_column (line 20) | def is_writer_column(obj) -> bool: FILE: src/hangar/columns/layout_flat.py class FlatSampleReader (line 34) | class FlatSampleReader: method __init__ (line 63) | def __init__(self, method _debug_ (line 82) | def _debug_(self): # pragma: no cover method __repr__ (line 94) | def __repr__(self): method _repr_pretty_ (line 103) | def _repr_pretty_(self, p, cycle): method _ipython_key_completions_ (line 116) | def _ipython_key_completions_(self): # pragma: no cover method __getstate__ (line 131) | def __getstate__(self) -> dict: method __setstate__ (line 136) | def __setstate__(self, state: dict) -> None: method __enter__ (line 146) | def __enter__(self): method __exit__ (line 149) | def __exit__(self, *exc): method _destruct (line 152) | def _destruct(self): method __getattr__ (line 159) | def __getattr__(self, name): method _is_conman (line 174) | def _is_conman(self) -> bool: method __iter__ (line 177) | def __iter__(self) -> Iterable[KeyType]: method __len__ (line 187) | def __len__(self) -> int: method __contains__ (line 192) | def __contains__(self, key: KeyType) -> bool: method _open (line 197) | def _open(self): method _close (line 201) | def _close(self): method __getitem__ (line 205) | def __getitem__(self, key: KeyType): method get (line 228) | def get(self, key: KeyType, default=None): method column (line 252) | def column(self) -> str: method column_type (line 258) | def column_type(self): method column_layout (line 264) | def column_layout(self): method schema_type (line 270) | def schema_type(self): method dtype (line 276) | def dtype(self): method shape (line 282) | def shape(self): method backend (line 291) | def backend(self) -> str: method backend_options (line 297) | def backend_options(self): method iswriteable (line 303) | def iswriteable(self) -> bool: method contains_subsamples (line 309) | def contains_subsamples(self) -> bool: method contains_remote_references (line 315) | def contains_remote_references(self) -> bool: method remote_reference_keys (line 333) | def remote_reference_keys(self) -> Tuple[KeyType]: method _mode_local_aware_key_looper (line 345) | def _mode_local_aware_key_looper(self, local: bool) -> Iterable[KeyType]: method keys (line 371) | def keys(self, local: bool = False) -> Iterable[KeyType]: method values (line 387) | def values(self, local: bool = False) -> Iterable[Any]: method items (line 405) | def items(self, local: bool = False) -> Iterable[Tuple[KeyType, Any]]: class FlatSampleWriter (line 426) | class FlatSampleWriter(FlatSampleReader): method __init__ (line 431) | def __init__(self, aset_ctx, *args, **kwargs): method __enter__ (line 435) | def __enter__(self): method __exit__ (line 446) | def __exit__(self, *exc): method _set_arg_validate (line 450) | def _set_arg_validate(self, key, value): method _perform_set (line 473) | def _perform_set(self, key, value): method __setitem__ (line 527) | def __setitem__(self, key, value): method append (line 552) | def append(self, value) -> KeyType: method update (line 585) | def update(self, other=None, **kwargs): method __delitem__ (line 626) | def __delitem__(self, key: KeyType) -> None: method pop (line 656) | def pop(self, key: KeyType): method change_backend (line 678) | def change_backend(self, backend: str, backend_options: Optional[dict]... FILE: src/hangar/columns/layout_nested.py class FlatSubsampleReader (line 37) | class FlatSubsampleReader(object): method __init__ (line 43) | def __init__(self, method _debug_ (line 59) | def _debug_(self): # pragma: no cover method __repr__ (line 70) | def __repr__(self): method _repr_pretty_ (line 76) | def _repr_pretty_(self, p, cycle): method _ipython_key_completions_ (line 84) | def _ipython_key_completions_(self): method __enter__ (line 98) | def __enter__(self): method __exit__ (line 102) | def __exit__(self, *exc): method _destruct (line 105) | def _destruct(self): method __getattr__ (line 111) | def __getattr__(self, name): method __getstate__ (line 126) | def __getstate__(self) -> dict: method __setstate__ (line 131) | def __setstate__(self, state: dict) -> None: method __len__ (line 141) | def __len__(self) -> int: method __contains__ (line 144) | def __contains__(self, key: KeyType) -> bool: method __iter__ (line 147) | def __iter__(self) -> Iterable[KeyType]: method __getitem__ (line 150) | def __getitem__(self, key: SubsampleGetKeysType) -> Union[Any, Dict[Ke... method _enter_count (line 201) | def _enter_count(self): method _enter_count (line 205) | def _enter_count(self, value): method _is_conman (line 209) | def _is_conman(self): method sample (line 213) | def sample(self) -> KeyType: method column (line 219) | def column(self) -> str: method iswriteable (line 225) | def iswriteable(self) -> bool: method data (line 231) | def data(self) -> Dict[KeyType, Any]: method _mode_local_aware_key_looper (line 242) | def _mode_local_aware_key_looper(self, local: bool) -> Iterable[KeyType]: method contains_remote_references (line 269) | def contains_remote_references(self) -> bool: method remote_reference_keys (line 287) | def remote_reference_keys(self) -> Tuple[KeyType]: method keys (line 299) | def keys(self, local: bool = False) -> Iterable[KeyType]: method values (line 315) | def values(self, local: bool = False) -> Iterable[Any]: method items (line 333) | def items(self, local: bool = False) -> Iterable[Tuple[KeyType, Any]]: method get (line 351) | def get(self, key: KeyType, default=None): class FlatSubsampleWriter (line 378) | class FlatSubsampleWriter(FlatSubsampleReader): method __init__ (line 383) | def __init__(self, method __enter__ (line 394) | def __enter__(self): method __exit__ (line 407) | def __exit__(self, *exc): method _set_arg_validate (line 413) | def _set_arg_validate(self, key, value): method _perform_set (line 420) | def _perform_set(self, key, value): method __setitem__ (line 476) | def __setitem__(self, key, value): method append (line 498) | def append(self, value) -> KeyType: method update (line 533) | def update(self, other=None, **kwargs): method __delitem__ (line 573) | def __delitem__(self, key: KeyType): method pop (line 603) | def pop(self, key: KeyType): class NestedSampleReader (line 621) | class NestedSampleReader: method __init__ (line 627) | def __init__(self, method __repr__ (line 644) | def __repr__(self): method _repr_pretty_ (line 653) | def _repr_pretty_(self, p, cycle): method _ipython_key_completions_ (line 667) | def _ipython_key_completions_(self): method __enter__ (line 681) | def __enter__(self): method __exit__ (line 685) | def __exit__(self, *exc): method _destruct (line 688) | def _destruct(self): method __getattr__ (line 697) | def __getattr__(self, name): method __getstate__ (line 712) | def __getstate__(self) -> dict: method __setstate__ (line 717) | def __setstate__(self, state: dict) -> None: method __getitem__ (line 728) | def __getitem__( method __iter__ (line 754) | def __iter__(self) -> Iterable[KeyType]: method __len__ (line 764) | def __len__(self) -> int: method __contains__ (line 769) | def __contains__(self, key: KeyType) -> bool: method _open (line 774) | def _open(self): method _close (line 784) | def _close(self): method _enter_count (line 795) | def _enter_count(self): method _enter_count (line 799) | def _enter_count(self, value): method _is_conman (line 803) | def _is_conman(self): method column (line 807) | def column(self) -> str: method column_type (line 813) | def column_type(self): method column_layout (line 819) | def column_layout(self): method schema_type (line 825) | def schema_type(self): method dtype (line 831) | def dtype(self): method shape (line 837) | def shape(self): method backend (line 846) | def backend(self) -> str: method backend_options (line 852) | def backend_options(self): method iswriteable (line 858) | def iswriteable(self) -> bool: method _mode_local_aware_key_looper (line 863) | def _mode_local_aware_key_looper(self, local: bool) -> Iterable[KeyType]: method contains_remote_references (line 890) | def contains_remote_references(self) -> bool: method remote_reference_keys (line 908) | def remote_reference_keys(self) -> Tuple[KeyType]: method contains_subsamples (line 921) | def contains_subsamples(self) -> bool: method num_subsamples (line 927) | def num_subsamples(self) -> int: method keys (line 935) | def keys(self, local: bool = False) -> Iterable[KeyType]: method values (line 951) | def values(self, local: bool = False) -> Iterable[Any]: method items (line 969) | def items(self, local: bool = False) -> Iterable[Tuple[KeyType, Any]]: method get (line 987) | def get( class NestedSampleWriter (line 1015) | class NestedSampleWriter(NestedSampleReader): method __init__ (line 1020) | def __init__(self, aset_ctx=None, *args, **kwargs): method __enter__ (line 1025) | def __enter__(self): method __exit__ (line 1038) | def __exit__(self, *exc): method _set_arg_validate (line 1042) | def _set_arg_validate(self, sample_key, subsample_map): method _perform_set (line 1053) | def _perform_set(self, key, value) -> None: method __setitem__ (line 1072) | def __setitem__(self, key, value) -> None: method update (line 1086) | def update(self, other=None, **kwargs) -> None: method __delitem__ (line 1126) | def __delitem__(self, key: KeyType): method pop (line 1146) | def pop(self, key: KeyType) -> Dict[KeyType, Any]: method change_backend (line 1165) | def change_backend(self, backend: str, backend_options: Optional[dict]... FILE: src/hangar/context.py class Environments (line 43) | class Environments(object): method __init__ (line 45) | def __init__(self, pth: Path): method repo_is_initialized (line 57) | def repo_is_initialized(self) -> bool: method _startup (line 68) | def _startup(self) -> bool: method init_repo (line 108) | def init_repo(self, method checkout_commit (line 164) | def checkout_commit(self, branch_name: str = '', commit: str = '') -> ... method _open_environments (line 213) | def _open_environments(self): method _close_environments (line 231) | def _close_environments(self): FILE: src/hangar/dataset/__init__.py function make_numpy_dataset (line 13) | def make_numpy_dataset( function make_torch_dataset (line 90) | def make_torch_dataset( function make_tensorflow_dataset (line 149) | def make_tensorflow_dataset( FILE: src/hangar/dataset/common.py class HangarDataset (line 13) | class HangarDataset: method __init__ (line 33) | def __init__(self, method columns (line 91) | def columns(self): method __len__ (line 94) | def __len__(self): method index_get (line 97) | def index_get(self, index: int): FILE: src/hangar/dataset/numpy_dset.py function default_collate_fn (line 14) | def default_collate_fn(batch): class NumpyDataset (line 28) | class NumpyDataset: method __init__ (line 66) | def __init__(self, dataset: HangarDataset, batch_size: int, drop_last:... method dataset (line 84) | def dataset(self): method num_batches (line 88) | def num_batches(self): method batch_size (line 92) | def batch_size(self): method batch_size (line 96) | def batch_size(self, value: int): method shuffle (line 104) | def shuffle(self): method shuffle (line 108) | def shuffle(self, value: bool): method __len__ (line 113) | def __len__(self): method _batch (line 116) | def _batch(self, batch_size, drop_last=True) -> None: method __iter__ (line 138) | def __iter__(self): function _make_numpy_dataset (line 155) | def _make_numpy_dataset(columns: Sequence['Columns'], FILE: src/hangar/dataset/tensorflow_dset.py function yield_data (line 24) | def yield_data(dataset: HangarDataset, indices: list, function _make_tensorflow_dataset (line 33) | def _make_tensorflow_dataset(columns: Sequence['Columns'], FILE: src/hangar/dataset/torch_dset.py class TorchDataset (line 18) | class TorchDataset(torch.utils.data.Dataset): method __init__ (line 26) | def __init__(self, hangar_dataset: HangarDataset, as_dict: bool = False): method __len__ (line 31) | def __len__(self) -> int: method __getitem__ (line 34) | def __getitem__(self, index: int): function _make_torch_dataset (line 44) | def _make_torch_dataset(columns: Sequence['Columns'], FILE: src/hangar/diagnostics/ecosystem.py function get_versions (line 19) | def get_versions() -> dict: function get_system_info (line 31) | def get_system_info() -> List[Tuple[str, str]]: function get_optional_info (line 70) | def get_optional_info() -> Dict[str, Union[str, bool]]: function get_package_info (line 103) | def get_package_info(pkgs): FILE: src/hangar/diagnostics/graphing.py class Column (line 61) | class Column(object): # pylint: disable=too-few-public-methods method __init__ (line 71) | def __init__(self, commit, color): class GraphState (line 76) | class GraphState(Enum): # pylint: disable=too-few-public-methods class Graph (line 85) | class Graph(object): # pragma: no cover method __init__ (line 164) | def __init__(self, method show_nodes (line 209) | def show_nodes(self, dag, spec, branch, start, order, stop='', method _write_column (line 269) | def _write_column(self, col, col_char): method _update_state (line 276) | def _update_state(self, state): method _interesting_parents (line 280) | def _interesting_parents(self): method _get_current_column_color (line 286) | def _get_current_column_color(self): method _increment_column_color (line 291) | def _increment_column_color(self): method _find_commit_color (line 295) | def _find_commit_color(self, commit): method _insert_into_new_columns (line 301) | def _insert_into_new_columns(self, commit, mapping_index): method _update_width (line 318) | def _update_width(self, is_commit_in_existing_columns): method _update_columns (line 343) | def _update_columns(self): method _update (line 416) | def _update(self, commit, parents): method _is_mapping_correct (line 452) | def _is_mapping_correct(self): method _pad_horizontally (line 467) | def _pad_horizontally(self, chars_written): method _output_padding_line (line 479) | def _output_padding_line(self): method _output_skip_line (line 488) | def _output_skip_line(self): method _output_pre_commit_line (line 499) | def _output_pre_commit_line(self): method _draw_octopus_merge (line 555) | def _draw_octopus_merge(self): method _output_commit_line (line 569) | def _output_commit_line(self): # noqa: C901, E501 pylint: disable=too... method _find_new_column_by_commit (line 627) | def _find_new_column_by_commit(self, commit): method _output_post_merge_line (line 633) | def _output_post_merge_line(self): method _output_collapsing_line (line 679) | def _output_collapsing_line(self): # noqa: C901, E501 pylint: disable... method _next_line (line 775) | def _next_line(self): # pylint: disable=too-many-return-statements method _padding_line (line 797) | def _padding_line(self): method _is_commit_finished (line 827) | def _is_commit_finished(self): method _show_commit (line 830) | def _show_commit(self): method _show_padding (line 847) | def _show_padding(self): method _show_remainder (line 852) | def _show_remainder(self): FILE: src/hangar/diagnostics/integrity.py function _verify_column_integrity (line 18) | def _verify_column_integrity(hashenv: lmdb.Environment, repo_path: Path): function _verify_schema_integrity (line 52) | def _verify_schema_integrity(hashenv: lmdb.Environment): function _verify_commit_tree_integrity (line 68) | def _verify_commit_tree_integrity(refenv: lmdb.Environment): function _verify_commit_ref_digests_exist (line 108) | def _verify_commit_ref_digests_exist(hashenv: lmdb.Environment, refenv: ... function _verify_branch_integrity (line 143) | def _verify_branch_integrity(branchenv: lmdb.Environment, refenv: lmdb.E... function run_verification (line 166) | def run_verification(branchenv: lmdb.Environment, FILE: src/hangar/diff.py class HistoryDiffStruct (line 28) | class HistoryDiffStruct(NamedTuple): class Changes (line 35) | class Changes(NamedTuple): class DiffOutDB (line 40) | class DiffOutDB(NamedTuple): class DiffOut (line 46) | class DiffOut(NamedTuple): class Conflicts (line 55) | class Conflicts(NamedTuple): class DiffAndConflictsDB (line 78) | class DiffAndConflictsDB(NamedTuple): class DiffAndConflicts (line 83) | class DiffAndConflicts(NamedTuple): function diff_envs (line 91) | def diff_envs(base_env: lmdb.Environment, head_env: lmdb.Environment, ) ... function _raw_from_db_change (line 164) | def _raw_from_db_change(changes: Set[Tuple[bytes, bytes]]) -> Changes: function _all_raw_from_db_changes (line 200) | def _all_raw_from_db_changes(outDb: DiffAndConflictsDB) -> DiffAndConfli... function _symmetric_difference_keys (line 228) | def _symmetric_difference_keys(pair1: Set[Tuple[bytes, bytes]], function find_conflicts (line 259) | def find_conflicts(master_diff: DiffOutDB, dev_diff: DiffOutDB) -> Confl... class BaseUserDiff (line 292) | class BaseUserDiff(object): method __init__ (line 294) | def __init__(self, branchenv: lmdb.Environment, refenv: lmdb.Environme... method _determine_ancestors (line 299) | def _determine_ancestors(self, mHEAD: str, dHEAD: str) -> HistoryDiffS... method _diff3 (line 336) | def _diff3(a_env: lmdb.Environment, method _diff (line 362) | def _diff(a_env: lmdb.Environment, m_env: lmdb.Environment) -> DiffAnd... class ReaderUserDiff (line 390) | class ReaderUserDiff(BaseUserDiff): method __init__ (line 425) | def __init__(self, commit_hash, *args, **kwargs): method _run_diff (line 430) | def _run_diff(self, dev_commit_hash: str) -> DiffAndConflictsDB: method commit (line 454) | def commit(self, dev_commit_hash: str) -> DiffAndConflicts: method branch (line 481) | def branch(self, dev_branch: str) -> DiffAndConflicts: class WriterUserDiff (line 515) | class WriterUserDiff(BaseUserDiff): method __init__ (line 553) | def __init__(self, stageenv: lmdb.Environment, branch_name: str, *args... method _run_diff (line 559) | def _run_diff(self, dev_commit_hash: str) -> DiffAndConflictsDB: method commit (line 583) | def commit(self, dev_commit_hash: str) -> DiffAndConflicts: method branch (line 610) | def branch(self, dev_branch: str) -> DiffAndConflicts: method staged (line 640) | def staged(self) -> DiffAndConflicts: method status (line 655) | def status(self) -> str: FILE: src/hangar/external/_external.py function load (line 26) | def load(fpath: str, function save (line 66) | def save(arr: np.ndarray, outdir: str, sample_det: str, extension: str, function show (line 111) | def show(arr: np.ndarray, plugin: str = None, function board_show (line 141) | def board_show(arr: np.ndarray, plugin: str = None, FILE: src/hangar/external/base_plugin.py class BasePlugin (line 16) | class BasePlugin(object): method __init__ (line 30) | def __init__(self, provides, accepts): method provides (line 39) | def provides(self): method accepts (line 43) | def accepts(self): method load (line 46) | def load(self, fpath, *args, **kwargs): method save (line 79) | def save(self, arr, outdir, sample_detail, extension, *args, **kwargs): method show (line 111) | def show(self, arr, *args, **kwargs): method board_show (line 122) | def board_show(self, arr, *args, **kwargs): method sample_name (line 133) | def sample_name(fpath: os.PathLike) -> str: FILE: src/hangar/external/plugin_manager.py class PluginManager (line 5) | class PluginManager(object): method __init__ (line 13) | def __init__(self): method reset_plugins (line 18) | def reset_plugins(self): method _clear_plugins (line 29) | def _clear_plugins(self): method _scan_plugins (line 37) | def _scan_plugins(self): method _read_defaults (line 47) | def _read_defaults(self): method get_plugin (line 58) | def get_plugin(self, method: str, plugin: str = None, extension: str =... FILE: src/hangar/merger.py function select_merge_algorithm (line 36) | def select_merge_algorithm(message: str, function _fast_forward_merge (line 150) | def _fast_forward_merge(branchenv: lmdb.Environment, function _three_way_merge (line 205) | def _three_way_merge(message: str, FILE: src/hangar/mixins/checkout_iteration.py class CheckoutDictIteration (line 3) | class CheckoutDictIteration: method __len__ (line 16) | def __len__(self): method __contains__ (line 22) | def __contains__(self, key): method __iter__ (line 28) | def __iter__(self): method keys (line 33) | def keys(self): method values (line 39) | def values(self): method items (line 45) | def items(self): FILE: src/hangar/mixins/datasetget.py class GetMixin (line 6) | class GetMixin: method __getitem__ (line 13) | def __getitem__(self, index): method get (line 112) | def get(self, keys, default=None, except_missing=False): method _get_in (line 152) | def _get_in(self, keys, default=None, except_missing=False, FILE: src/hangar/mixins/recorditer.py class CursorRangeIterator (line 5) | class CursorRangeIterator: method cursor_range_iterator (line 8) | def cursor_range_iterator(datatxn: lmdb.Transaction, startRangeKey: by... FILE: src/hangar/op_state.py function writer_checkout_only (line 8) | def writer_checkout_only(wrapped, instance, args, kwargs) -> types.Metho... function reader_checkout_only (line 54) | def reader_checkout_only(wrapped, instance, args, kwargs) -> types.Metho... function tb_params_last_called (line 99) | def tb_params_last_called(tb: types.TracebackType) -> dict: function report_corruption_risk_on_parsing_error (line 130) | def report_corruption_risk_on_parsing_error(func): FILE: src/hangar/records/commiting.py function expand_short_commit_digest (line 47) | def expand_short_commit_digest(refenv: lmdb.Environment, commit_hash: st... function check_commit_hash_in_history (line 91) | def check_commit_hash_in_history(refenv, commit_hash): function get_commit_spec (line 116) | def get_commit_spec(refenv, commit_hash): function get_commit_ancestors (line 150) | def get_commit_ancestors(refenv, commit_hash): function get_commit_ancestors_graph (line 186) | def get_commit_ancestors_graph(refenv, starting_commit): function get_commit_ref (line 248) | def get_commit_ref(refenv, commit_hash): function unpack_commit_ref (line 308) | def unpack_commit_ref(refenv, cmtrefenv, commit_hash): function tmp_cmt_env (line 343) | def tmp_cmt_env(refenv: lmdb.Environment, commit_hash: str): function _commit_ancestors (line 383) | def _commit_ancestors(branchenv: lmdb.Environment, function _commit_spec (line 429) | def _commit_spec(message: str, user: str, email: str) -> DigestAndBytes: function _commit_ref (line 457) | def _commit_ref(stageenv: lmdb.Environment) -> DigestAndBytes: function commit_records (line 482) | def commit_records(message, branchenv, stageenv, refenv, repo_path: Path, function replace_staging_area_with_commit (line 563) | def replace_staging_area_with_commit(refenv, stageenv, commit_hash): function replace_staging_area_with_refs (line 592) | def replace_staging_area_with_refs(stageenv, sorted_content): function move_process_data_to_store (line 628) | def move_process_data_to_store(repo_path: Path, *, remote_operation: boo... function list_all_commits (line 672) | def list_all_commits(refenv): function number_commits_recorded (line 700) | def number_commits_recorded(refenv) -> int: FILE: src/hangar/records/hashs.py class HashQuery (line 20) | class HashQuery(CursorRangeIterator): method __init__ (line 36) | def __init__(self, hashenv: lmdb.Environment): method _traverse_all_hash_records (line 41) | def _traverse_all_hash_records(self, keys: bool = True, values: bool =... method _traverse_all_schema_records (line 64) | def _traverse_all_schema_records(self, keys: bool = True, values: bool... method list_all_hash_keys_raw (line 87) | def list_all_hash_keys_raw(self) -> List[str]: method gen_all_hash_keys_db (line 91) | def gen_all_hash_keys_db(self) -> Iterable[bytes]: method intersect_keys_db (line 94) | def intersect_keys_db(self, other: Set[bytes]): method list_all_schema_digests (line 119) | def list_all_schema_digests(self) -> List[str]: method gen_all_schema_keys_db (line 123) | def gen_all_schema_keys_db(self) -> Iterable[bytes]: method num_data_records (line 126) | def num_data_records(self) -> int: method num_schema_records (line 133) | def num_schema_records(self) -> int: method gen_all_data_digests_and_parsed_backend_specs (line 138) | def gen_all_data_digests_and_parsed_backend_specs(self): method gen_all_schema_digests_and_parsed_specs (line 144) | def gen_all_schema_digests_and_parsed_specs(self) -> Iterable[Tuple[st... method get_schema_digest_spec (line 150) | def get_schema_digest_spec(self, digest) -> dict: function backends_remove_in_process_data (line 162) | def backends_remove_in_process_data(repo_path: Path, *, remote_operation... function clear_stage_hash_records (line 183) | def clear_stage_hash_records(stagehashenv): function remove_stage_hash_records_from_hashenv (line 203) | def remove_stage_hash_records_from_hashenv(hashenv, stagehashenv): FILE: src/hangar/records/heads.py class BranchHead (line 28) | class BranchHead(NamedTuple): function writer_lock_held (line 43) | def writer_lock_held(branchenv): function acquire_writer_lock (line 73) | def acquire_writer_lock(branchenv, writer_uuid): function release_writer_lock (line 130) | def release_writer_lock(branchenv, writer_uuid): function create_branch (line 194) | def create_branch(branchenv, name, base_commit) -> BranchHead: function remove_branch (line 245) | def remove_branch(branchenv: lmdb.Environment, function get_staging_branch_head (line 337) | def get_staging_branch_head(branchenv): function set_staging_branch_head (line 360) | def set_staging_branch_head(branchenv, branch_name): function get_branch_head_commit (line 407) | def get_branch_head_commit(branchenv, branch_name): function set_branch_head_commit (line 441) | def set_branch_head_commit(branchenv, branch_name, commit_hash): function get_branch_names (line 484) | def get_branch_names(branchenv): function commit_hash_to_branch_name_map (line 519) | def commit_hash_to_branch_name_map(branchenv: lmdb.Environment) -> dict: function add_remote (line 545) | def add_remote(branchenv: lmdb.Environment, name: str, address: str) -> ... function get_remote_address (line 578) | def get_remote_address(branchenv: lmdb.Environment, name: str) -> str: function remove_remote (line 613) | def remove_remote(branchenv: lmdb.Environment, name: str) -> str: function get_remote_names (line 648) | def get_remote_names(branchenv): FILE: src/hangar/records/parsing.py function generate_sample_name (line 33) | def generate_sample_name() -> str: function repo_version_raw_spec_from_raw_string (line 52) | def repo_version_raw_spec_from_raw_string(v_str: str) -> Version: function repo_version_db_key (line 61) | def repo_version_db_key() -> bytes: function repo_version_db_val_from_raw_val (line 75) | def repo_version_db_val_from_raw_val(v_spec: Version) -> bytes: function repo_version_raw_val_from_db_val (line 96) | def repo_version_raw_val_from_db_val(db_val: bytes) -> Version: function repo_head_db_key (line 123) | def repo_head_db_key() -> bytes: function repo_head_db_val_from_raw_val (line 137) | def repo_head_db_val_from_raw_val(branch_name: str) -> bytes: function repo_head_raw_val_from_db_val (line 143) | def repo_head_raw_val_from_db_val(db_val: bytes) -> str: function repo_branch_head_db_key_from_raw_key (line 155) | def repo_branch_head_db_key_from_raw_key(branch_name: str) -> bytes: function repo_branch_head_db_val_from_raw_val (line 159) | def repo_branch_head_db_val_from_raw_val(commit_hash: str) -> bytes: function repo_branch_head_raw_key_from_db_key (line 166) | def repo_branch_head_raw_key_from_db_key(db_key: bytes) -> str: function repo_branch_head_raw_val_from_db_val (line 170) | def repo_branch_head_raw_val_from_db_val(db_val: bytes) -> str: function repo_writer_lock_db_key (line 186) | def repo_writer_lock_db_key() -> bytes: function repo_writer_lock_sentinal_db_val (line 190) | def repo_writer_lock_sentinal_db_val() -> bytes: function repo_writer_lock_force_release_sentinal (line 194) | def repo_writer_lock_force_release_sentinal() -> str: function repo_writer_lock_db_val_from_raw_val (line 201) | def repo_writer_lock_db_val_from_raw_val(lock_uuid: str) -> bytes: function repo_writer_lock_raw_val_from_db_val (line 208) | def repo_writer_lock_raw_val_from_db_val(db_val: bytes) -> str: function remote_db_key_from_raw_key (line 215) | def remote_db_key_from_raw_key(remote_name: str) -> bytes: function remote_raw_key_from_db_key (line 231) | def remote_raw_key_from_db_key(db_key: bytes, *, _SPLT=len(K_REMOTES)) -... function remote_db_val_from_raw_val (line 247) | def remote_db_val_from_raw_val(grpc_address: str) -> bytes: function remote_raw_val_from_db_val (line 263) | def remote_raw_val_from_db_val(db_val: bytes) -> str: class CommitAncestorSpec (line 288) | class CommitAncestorSpec(NamedTuple): class CommitUserSpec (line 294) | class CommitUserSpec(NamedTuple): class DigestAndUserSpec (line 301) | class DigestAndUserSpec(NamedTuple): class DigestAndAncestorSpec (line 306) | class DigestAndAncestorSpec(NamedTuple): class DigestAndBytes (line 311) | class DigestAndBytes(NamedTuple): class DigestAndDbRefs (line 316) | class DigestAndDbRefs(NamedTuple): function _hash_func (line 321) | def _hash_func(recs: bytes) -> str: function cmt_final_digest (line 337) | def cmt_final_digest(parent_digest: str, spec_digest: str, refs_digest: ... function commit_parent_db_key_from_raw_key (line 378) | def commit_parent_db_key_from_raw_key(commit_hash: str) -> bytes: function commit_parent_db_val_from_raw_val (line 382) | def commit_parent_db_val_from_raw_val(master_ancestor: str, function commit_parent_raw_key_from_db_key (line 397) | def commit_parent_raw_key_from_db_key(db_key: bytes) -> str: function commit_parent_raw_val_from_db_val (line 401) | def commit_parent_raw_val_from_db_val(db_val: bytes) -> DigestAndAncesto... function commit_ref_db_key_from_raw_key (line 439) | def commit_ref_db_key_from_raw_key(commit_hash: str) -> bytes: function _commit_ref_joined_kv_digest (line 443) | def _commit_ref_joined_kv_digest(joined_db_kvs: Iterable[bytes]) -> str: function commit_ref_db_val_from_raw_val (line 471) | def commit_ref_db_val_from_raw_val(db_kvs: Iterable[Tuple[bytes, bytes]]... function commit_ref_raw_val_from_db_val (line 492) | def commit_ref_raw_val_from_db_val(commit_db_val: bytes) -> DigestAndDbR... function commit_spec_db_key_from_raw_key (line 528) | def commit_spec_db_key_from_raw_key(commit_hash: str) -> bytes: function commit_spec_db_val_from_raw_val (line 532) | def commit_spec_db_val_from_raw_val(commit_time: float, commit_message: ... function commit_spec_raw_val_from_db_val (line 568) | def commit_spec_raw_val_from_db_val(db_val: bytes) -> DigestAndUserSpec: FILE: src/hangar/records/queries.py class RecordQuery (line 26) | class RecordQuery(CursorRangeIterator): method __init__ (line 28) | def __init__(self, dataenv: lmdb.Environment): method _traverse_all_records (line 33) | def _traverse_all_records(self) -> Iterator[Tuple[bytes, bytes]]: method _traverse_column_schema_records (line 50) | def _traverse_column_schema_records(self, keys: bool = True, values: b... method _traverse_column_data_records (line 75) | def _traverse_column_data_records(self, method column_names (line 124) | def column_names(self) -> List[str]: method column_count (line 136) | def column_count(self) -> int: method data_hashes (line 146) | def data_hashes(self) -> List[str]: method column_data_records (line 167) | def column_data_records(self, column_name: str) -> Iterable[RawDataTup... method column_data_hashes (line 185) | def column_data_hashes(self, column_name: str) -> Set[DataRecordVal]: method column_data_count (line 204) | def column_data_count(self, column_name: str) -> int: method schema_specs (line 222) | def schema_specs(self): method schema_hashes (line 237) | def schema_hashes(self) -> List[str]: method data_hash_to_schema_hash (line 251) | def data_hash_to_schema_hash(self) -> Dict[str, str]: method column_schema_layout (line 270) | def column_schema_layout(self, column: str) -> str: FILE: src/hangar/records/summarize.py function log (line 25) | def log(branchenv: lmdb.Environment, function list_history (line 90) | def list_history(refenv, branchenv, branch_name=None, commit_hash=None): function details (line 145) | def details(env: lmdb.Environment, line_limit=100, line_length=100) -> S... function summary (line 192) | def summary(env, *, branch='', commit='') -> StringIO: function status (line 270) | def status(hashenv: lmdb.Environment, branch_name: str, diff: DiffOut) -... FILE: src/hangar/records/vcompat.py function set_repository_software_version (line 17) | def set_repository_software_version(branchenv: lmdb.Environment, function get_repository_software_version_spec (line 50) | def get_repository_software_version_spec(branchenv: lmdb.Environment) ->... function startup_check_repo_version (line 90) | def startup_check_repo_version(repo_path: Path) -> Version: function is_repo_software_version_compatible (line 133) | def is_repo_software_version_compatible(repo_v: Version, curr_v: Version... FILE: src/hangar/remote/chunks.py function chunk_bytes (line 15) | def chunk_bytes(bytesData, *, chunkSize: int = 32_000) -> Iterable[bytes]: function clientCommitChunkedIterator (line 39) | def clientCommitChunkedIterator(commit: str, parentVal: bytes, specVal: ... function tensorChunkedIterator (line 73) | def tensorChunkedIterator(buf, uncomp_nbytes, pb2_request, function missingHashIterator (line 91) | def missingHashIterator(commit, hash_bytes, err, pb2_func): function missingHashRequestIterator (line 106) | def missingHashRequestIterator(commit, hash_bytes, pb2_func): class DataIdent (line 123) | class DataIdent(NamedTuple): class DataRecord (line 128) | class DataRecord(NamedTuple): function _serialize_arr (line 134) | def _serialize_arr(arr: np.ndarray) -> bytes: function _deserialize_arr (line 144) | def _deserialize_arr(raw: bytes) -> np.ndarray: function _serialize_str (line 151) | def _serialize_str(data: str) -> bytes: function _deserialize_str (line 158) | def _deserialize_str(raw: bytes) -> str: function _serialize_bytes (line 162) | def _serialize_bytes(data: bytes) -> bytes: function _deserialize_bytes (line 169) | def _deserialize_bytes(data: bytes) -> bytes: function serialize_ident (line 173) | def serialize_ident(digest: str, schema: str) -> bytes: function deserialize_ident (line 184) | def deserialize_ident(raw: bytes) -> DataIdent: function serialize_data (line 192) | def serialize_data(data: Union[np.ndarray, str, bytes]) -> Tuple[int, by... function deserialize_data (line 203) | def deserialize_data(dtype_code: int, raw_data: bytes) -> Union[np.ndarr... function serialize_record (line 214) | def serialize_record(data: Union[np.ndarray, str, bytes], digest: str, s... function deserialize_record (line 227) | def deserialize_record(raw: bytes) -> DataRecord: function serialize_record_pack (line 237) | def serialize_record_pack(records: List[bytes]) -> bytes: function deserialize_record_pack (line 246) | def deserialize_record_pack(raw: bytes) -> List[bytes]: FILE: src/hangar/remote/client.py class HangarClient (line 33) | class HangarClient(object): method __init__ (line 56) | def __init__(self, method _setup_client_channel_config (line 88) | def _setup_client_channel_config(self): method close (line 142) | def close(self): method ping_pong (line 149) | def ping_pong(self) -> str: method push_branch_record (line 161) | def push_branch_record(self, name: str, head: str method fetch_branch_record (line 182) | def fetch_branch_record(self, name: str method push_commit_record (line 202) | def push_commit_record(self, commit: str, parentVal: bytes, specVal: b... method fetch_commit_record (line 230) | def fetch_commit_record(self, commit: str) -> Tuple[str, bytes, bytes,... method fetch_schema (line 260) | def fetch_schema(self, schema_hash: str) -> Tuple[str, bytes]: method push_schema (line 283) | def push_schema(self, schema_hash: str, method fetch_data (line 305) | def fetch_data( method fetch_data_origin (line 391) | def fetch_data_origin(self, digests: Sequence[str]) -> List[hangar_ser... method push_find_data_origin (line 405) | def push_find_data_origin(self, digests): method push_data_begin_context (line 419) | def push_data_begin_context(self): method push_data_end_context (line 424) | def push_data_end_context(self): method push_data (line 429) | def push_data(self, schema_hash: str, digests: Sequence[str], method fetch_find_missing_commits (line 546) | def fetch_find_missing_commits(self, branch_name): method push_find_missing_commits (line 556) | def push_find_missing_commits(self, branch_name): method fetch_find_missing_hash_records (line 570) | def fetch_find_missing_hash_records(self, commit): method push_find_missing_hash_records (line 590) | def push_find_missing_hash_records(self, commit, tmpDB: lmdb.Environme... method fetch_find_missing_schemas (line 623) | def fetch_find_missing_schemas(self, commit): method push_find_missing_schemas (line 634) | def push_find_missing_schemas(self, commit, tmpDB: lmdb.Environment = ... FILE: src/hangar/remote/content.py class ContentWriter (line 16) | class ContentWriter(object): method __init__ (line 29) | def __init__(self, envs: Environments): method commit (line 34) | def commit(self, commit: str, parentVal: bytes, specVal: bytes, method schema (line 71) | def schema(self, schema_hash: str, schemaVal: bytes) -> Union[str, bool]: class DataWriter (line 99) | class DataWriter: method __init__ (line 101) | def __init__(self, envs): method __enter__ (line 110) | def __enter__(self): method __exit__ (line 115) | def __exit__(self, *exc): method is_cm (line 125) | def is_cm(self): method _open_new_backend (line 128) | def _open_new_backend(self, schema): method _get_schema_object (line 136) | def _get_schema_object(self, schema_hash): method _get_changed_schema_object (line 149) | def _get_changed_schema_object(self, schema_hash, backend, backend_opt... method data (line 160) | def data(self, class ContentReader (line 212) | class ContentReader(object): method __init__ (line 224) | def __init__(self, envs): method commit (line 229) | def commit(self, commit: str) -> Union[RawCommitContent, bool]: method schema (line 264) | def schema(self, schema_hash: str) -> Union[bytes, bool]: FILE: src/hangar/remote/hangar_service_pb2.pyi class _DataLocation (line 47) | class _DataLocation(google___protobuf___internal___enum_type_wrapper____... class _DataType (line 64) | class _DataType(google___protobuf___internal___enum_type_wrapper____Enum... class PushBeginContextRequest (line 76) | class PushBeginContextRequest(google___protobuf___message___Message): method __init__ (line 80) | def __init__(self, method ClearField (line 84) | def ClearField(self, field_name: typing_extensions___Literal[u"client_... class PushBeginContextReply (line 87) | class PushBeginContextReply(google___protobuf___message___Message): method err (line 91) | def err(self) -> type___ErrorProto: ... method __init__ (line 93) | def __init__(self, method HasField (line 97) | def HasField(self, field_name: typing_extensions___Literal[u"err",b"er... method ClearField (line 98) | def ClearField(self, field_name: typing_extensions___Literal[u"err",b"... class PushEndContextRequest (line 101) | class PushEndContextRequest(google___protobuf___message___Message): method __init__ (line 105) | def __init__(self, method ClearField (line 109) | def ClearField(self, field_name: typing_extensions___Literal[u"client_... class PushEndContextReply (line 112) | class PushEndContextReply(google___protobuf___message___Message): method err (line 116) | def err(self) -> type___ErrorProto: ... method __init__ (line 118) | def __init__(self, method HasField (line 122) | def HasField(self, field_name: typing_extensions___Literal[u"err",b"er... method ClearField (line 123) | def ClearField(self, field_name: typing_extensions___Literal[u"err",b"... class ErrorProto (line 126) | class ErrorProto(google___protobuf___message___Message): method __init__ (line 131) | def __init__(self, method ClearField (line 136) | def ClearField(self, field_name: typing_extensions___Literal[u"code",b... class BranchRecord (line 139) | class BranchRecord(google___protobuf___message___Message): method __init__ (line 144) | def __init__(self, method ClearField (line 149) | def ClearField(self, field_name: typing_extensions___Literal[u"commit"... class HashRecord (line 152) | class HashRecord(google___protobuf___message___Message): method __init__ (line 157) | def __init__(self, method ClearField (line 162) | def ClearField(self, field_name: typing_extensions___Literal[u"digest"... class CommitRecord (line 165) | class CommitRecord(google___protobuf___message___Message): method __init__ (line 171) | def __init__(self, method ClearField (line 177) | def ClearField(self, field_name: typing_extensions___Literal[u"parent"... class SchemaRecord (line 180) | class SchemaRecord(google___protobuf___message___Message): method __init__ (line 185) | def __init__(self, method ClearField (line 190) | def ClearField(self, field_name: typing_extensions___Literal[u"blob",b... class DataOriginRequest (line 193) | class DataOriginRequest(google___protobuf___message___Message): method __init__ (line 197) | def __init__(self, method ClearField (line 201) | def ClearField(self, field_name: typing_extensions___Literal[u"digest"... class DataOriginReply (line 204) | class DataOriginReply(google___protobuf___message___Message): class CompressionOptsEntry (line 206) | class CompressionOptsEntry(google___protobuf___message___Message): method __init__ (line 211) | def __init__(self, method ClearField (line 216) | def ClearField(self, field_name: typing_extensions___Literal[u"key",... method compression_opts (line 226) | def compression_opts(self) -> typing___MutableMapping[typing___Text, t... method __init__ (line 228) | def __init__(self, method ClearField (line 237) | def ClearField(self, field_name: typing_extensions___Literal[u"compres... class PushFindDataOriginRequest (line 240) | class PushFindDataOriginRequest(google___protobuf___message___Message): method __init__ (line 246) | def __init__(self, method ClearField (line 252) | def ClearField(self, field_name: typing_extensions___Literal[u"compres... class PushFindDataOriginReply (line 255) | class PushFindDataOriginReply(google___protobuf___message___Message): class CompressionOptsExpectedEntry (line 257) | class CompressionOptsExpectedEntry(google___protobuf___message___Messa... method __init__ (line 262) | def __init__(self, method ClearField (line 267) | def ClearField(self, field_name: typing_extensions___Literal[u"key",... method compression_opts_expected (line 276) | def compression_opts_expected(self) -> typing___MutableMapping[typing_... method __init__ (line 278) | def __init__(self, method ClearField (line 286) | def ClearField(self, field_name: typing_extensions___Literal[u"compres... class PingRequest (line 289) | class PingRequest(google___protobuf___message___Message): method __init__ (line 292) | def __init__(self, class PingReply (line 296) | class PingReply(google___protobuf___message___Message): method __init__ (line 300) | def __init__(self, method ClearField (line 304) | def ClearField(self, field_name: typing_extensions___Literal[u"result"... class GetClientConfigRequest (line 307) | class GetClientConfigRequest(google___protobuf___message___Message): method __init__ (line 310) | def __init__(self, class GetClientConfigReply (line 314) | class GetClientConfigReply(google___protobuf___message___Message): class ConfigEntry (line 316) | class ConfigEntry(google___protobuf___message___Message): method __init__ (line 321) | def __init__(self, method ClearField (line 326) | def ClearField(self, field_name: typing_extensions___Literal[u"key",... method config (line 331) | def config(self) -> typing___MutableMapping[typing___Text, typing___Te... method error (line 334) | def error(self) -> type___ErrorProto: ... method __init__ (line 336) | def __init__(self, method HasField (line 341) | def HasField(self, field_name: typing_extensions___Literal[u"error",b"... method ClearField (line 342) | def ClearField(self, field_name: typing_extensions___Literal[u"config"... class FetchBranchRecordRequest (line 345) | class FetchBranchRecordRequest(google___protobuf___message___Message): method rec (line 349) | def rec(self) -> type___BranchRecord: ... method __init__ (line 351) | def __init__(self, method HasField (line 355) | def HasField(self, field_name: typing_extensions___Literal[u"rec",b"re... method ClearField (line 356) | def ClearField(self, field_name: typing_extensions___Literal[u"rec",b"... class FetchBranchRecordReply (line 359) | class FetchBranchRecordReply(google___protobuf___message___Message): method rec (line 363) | def rec(self) -> type___BranchRecord: ... method error (line 366) | def error(self) -> type___ErrorProto: ... method __init__ (line 368) | def __init__(self, method HasField (line 373) | def HasField(self, field_name: typing_extensions___Literal[u"error",b"... method ClearField (line 374) | def ClearField(self, field_name: typing_extensions___Literal[u"error",... class FetchDataRequest (line 377) | class FetchDataRequest(google___protobuf___message___Message): method __init__ (line 381) | def __init__(self, method ClearField (line 385) | def ClearField(self, field_name: typing_extensions___Literal[u"uri",b"... class FetchDataReply (line 388) | class FetchDataReply(google___protobuf___message___Message): method error (line 395) | def error(self) -> type___ErrorProto: ... method __init__ (line 397) | def __init__(self, method HasField (line 404) | def HasField(self, field_name: typing_extensions___Literal[u"error",b"... method ClearField (line 405) | def ClearField(self, field_name: typing_extensions___Literal[u"error",... class FetchCommitRequest (line 408) | class FetchCommitRequest(google___protobuf___message___Message): method __init__ (line 412) | def __init__(self, method ClearField (line 416) | def ClearField(self, field_name: typing_extensions___Literal[u"commit"... class FetchCommitReply (line 419) | class FetchCommitReply(google___protobuf___message___Message): method record (line 425) | def record(self) -> type___CommitRecord: ... method error (line 428) | def error(self) -> type___ErrorProto: ... method __init__ (line 430) | def __init__(self, method HasField (line 437) | def HasField(self, field_name: typing_extensions___Literal[u"error",b"... method ClearField (line 438) | def ClearField(self, field_name: typing_extensions___Literal[u"commit"... class FetchSchemaRequest (line 441) | class FetchSchemaRequest(google___protobuf___message___Message): method rec (line 445) | def rec(self) -> type___SchemaRecord: ... method __init__ (line 447) | def __init__(self, method HasField (line 451) | def HasField(self, field_name: typing_extensions___Literal[u"rec",b"re... method ClearField (line 452) | def ClearField(self, field_name: typing_extensions___Literal[u"rec",b"... class FetchSchemaReply (line 455) | class FetchSchemaReply(google___protobuf___message___Message): method rec (line 459) | def rec(self) -> type___SchemaRecord: ... method error (line 462) | def error(self) -> type___ErrorProto: ... method __init__ (line 464) | def __init__(self, method HasField (line 469) | def HasField(self, field_name: typing_extensions___Literal[u"error",b"... method ClearField (line 470) | def ClearField(self, field_name: typing_extensions___Literal[u"error",... class PushBranchRecordRequest (line 473) | class PushBranchRecordRequest(google___protobuf___message___Message): method rec (line 477) | def rec(self) -> type___BranchRecord: ... method __init__ (line 479) | def __init__(self, method HasField (line 483) | def HasField(self, field_name: typing_extensions___Literal[u"rec",b"re... method ClearField (line 484) | def ClearField(self, field_name: typing_extensions___Literal[u"rec",b"... class PushBranchRecordReply (line 487) | class PushBranchRecordReply(google___protobuf___message___Message): method error (line 491) | def error(self) -> type___ErrorProto: ... method __init__ (line 493) | def __init__(self, method HasField (line 497) | def HasField(self, field_name: typing_extensions___Literal[u"error",b"... method ClearField (line 498) | def ClearField(self, field_name: typing_extensions___Literal[u"error",... class PushDataRequest (line 501) | class PushDataRequest(google___protobuf___message___Message): method __init__ (line 509) | def __init__(self, method ClearField (line 517) | def ClearField(self, field_name: typing_extensions___Literal[u"data_ty... class PushDataReply (line 520) | class PushDataReply(google___protobuf___message___Message): method error (line 524) | def error(self) -> type___ErrorProto: ... method __init__ (line 526) | def __init__(self, method HasField (line 530) | def HasField(self, field_name: typing_extensions___Literal[u"error",b"... method ClearField (line 531) | def ClearField(self, field_name: typing_extensions___Literal[u"error",... class PushCommitRequest (line 534) | class PushCommitRequest(google___protobuf___message___Message): method record (line 540) | def record(self) -> type___CommitRecord: ... method __init__ (line 542) | def __init__(self, method HasField (line 548) | def HasField(self, field_name: typing_extensions___Literal[u"record",b... method ClearField (line 549) | def ClearField(self, field_name: typing_extensions___Literal[u"commit"... class PushCommitReply (line 552) | class PushCommitReply(google___protobuf___message___Message): method error (line 556) | def error(self) -> type___ErrorProto: ... method __init__ (line 558) | def __init__(self, method HasField (line 562) | def HasField(self, field_name: typing_extensions___Literal[u"error",b"... method ClearField (line 563) | def ClearField(self, field_name: typing_extensions___Literal[u"error",... class PushSchemaRequest (line 566) | class PushSchemaRequest(google___protobuf___message___Message): method rec (line 570) | def rec(self) -> type___SchemaRecord: ... method __init__ (line 572) | def __init__(self, method HasField (line 576) | def HasField(self, field_name: typing_extensions___Literal[u"rec",b"re... method ClearField (line 577) | def ClearField(self, field_name: typing_extensions___Literal[u"rec",b"... class PushSchemaReply (line 580) | class PushSchemaReply(google___protobuf___message___Message): method error (line 584) | def error(self) -> type___ErrorProto: ... method __init__ (line 586) | def __init__(self, method HasField (line 590) | def HasField(self, field_name: typing_extensions___Literal[u"error",b"... method ClearField (line 591) | def ClearField(self, field_name: typing_extensions___Literal[u"error",... class FindMissingCommitsRequest (line 594) | class FindMissingCommitsRequest(google___protobuf___message___Message): method branch (line 599) | def branch(self) -> type___BranchRecord: ... method __init__ (line 601) | def __init__(self, method HasField (line 606) | def HasField(self, field_name: typing_extensions___Literal[u"branch",b... method ClearField (line 607) | def ClearField(self, field_name: typing_extensions___Literal[u"branch"... class FindMissingCommitsReply (line 610) | class FindMissingCommitsReply(google___protobuf___message___Message): method branch (line 615) | def branch(self) -> type___BranchRecord: ... method error (line 618) | def error(self) -> type___ErrorProto: ... method __init__ (line 620) | def __init__(self, method HasField (line 626) | def HasField(self, field_name: typing_extensions___Literal[u"branch",b... method ClearField (line 627) | def ClearField(self, field_name: typing_extensions___Literal[u"branch"... class FindMissingHashRecordsRequest (line 630) | class FindMissingHashRecordsRequest(google___protobuf___message___Message): method __init__ (line 636) | def __init__(self, method ClearField (line 642) | def ClearField(self, field_name: typing_extensions___Literal[u"commit"... class FindMissingHashRecordsReply (line 645) | class FindMissingHashRecordsReply(google___protobuf___message___Message): method error (line 652) | def error(self) -> type___ErrorProto: ... method __init__ (line 654) | def __init__(self, method HasField (line 661) | def HasField(self, field_name: typing_extensions___Literal[u"error",b"... method ClearField (line 662) | def ClearField(self, field_name: typing_extensions___Literal[u"commit"... class FindMissingSchemasRequest (line 665) | class FindMissingSchemasRequest(google___protobuf___message___Message): method __init__ (line 670) | def __init__(self, method ClearField (line 675) | def ClearField(self, field_name: typing_extensions___Literal[u"commit"... class FindMissingSchemasReply (line 678) | class FindMissingSchemasReply(google___protobuf___message___Message): method error (line 684) | def error(self) -> type___ErrorProto: ... method __init__ (line 686) | def __init__(self, method HasField (line 692) | def HasField(self, field_name: typing_extensions___Literal[u"error",b"... method ClearField (line 693) | def ClearField(self, field_name: typing_extensions___Literal[u"commit"... FILE: src/hangar/remote/hangar_service_pb2_grpc.py class HangarServiceStub (line 7) | class HangarServiceStub(object): method __init__ (line 10) | def __init__(self, channel): class HangarServiceServicer (line 118) | class HangarServiceServicer(object): method PING (line 121) | def PING(self, request, context): method GetClientConfig (line 127) | def GetClientConfig(self, request, context): method FetchBranchRecord (line 133) | def FetchBranchRecord(self, request, context): method FetchData (line 139) | def FetchData(self, request, context): method FetchCommit (line 145) | def FetchCommit(self, request, context): method FetchSchema (line 151) | def FetchSchema(self, request, context): method PushBranchRecord (line 157) | def PushBranchRecord(self, request, context): method PushData (line 163) | def PushData(self, request_iterator, context): method PushCommit (line 169) | def PushCommit(self, request_iterator, context): method PushSchema (line 175) | def PushSchema(self, request, context): method FetchFindMissingCommits (line 181) | def FetchFindMissingCommits(self, request, context): method FetchFindMissingHashRecords (line 187) | def FetchFindMissingHashRecords(self, request_iterator, context): method FetchFindMissingSchemas (line 193) | def FetchFindMissingSchemas(self, request, context): method PushFindMissingCommits (line 199) | def PushFindMissingCommits(self, request, context): method PushFindMissingHashRecords (line 205) | def PushFindMissingHashRecords(self, request_iterator, context): method PushFindMissingSchemas (line 211) | def PushFindMissingSchemas(self, request, context): method FetchFindDataOrigin (line 217) | def FetchFindDataOrigin(self, request_iterator, context): method PushFindDataOrigin (line 223) | def PushFindDataOrigin(self, request_iterator, context): method PushBeginContext (line 229) | def PushBeginContext(self, request, context): method PushEndContext (line 235) | def PushEndContext(self, request, context): function add_HangarServiceServicer_to_server (line 242) | def add_HangarServiceServicer_to_server(servicer, server): class HangarService (line 351) | class HangarService(object): method PING (line 355) | def PING(request, method GetClientConfig (line 371) | def GetClientConfig(request, method FetchBranchRecord (line 387) | def FetchBranchRecord(request, method FetchData (line 403) | def FetchData(request, method FetchCommit (line 419) | def FetchCommit(request, method FetchSchema (line 435) | def FetchSchema(request, method PushBranchRecord (line 451) | def PushBranchRecord(request, method PushData (line 467) | def PushData(request_iterator, method PushCommit (line 483) | def PushCommit(request_iterator, method PushSchema (line 499) | def PushSchema(request, method FetchFindMissingCommits (line 515) | def FetchFindMissingCommits(request, method FetchFindMissingHashRecords (line 531) | def FetchFindMissingHashRecords(request_iterator, method FetchFindMissingSchemas (line 547) | def FetchFindMissingSchemas(request, method PushFindMissingCommits (line 563) | def PushFindMissingCommits(request, method PushFindMissingHashRecords (line 579) | def PushFindMissingHashRecords(request_iterator, method PushFindMissingSchemas (line 595) | def PushFindMissingSchemas(request, method FetchFindDataOrigin (line 611) | def FetchFindDataOrigin(request_iterator, method PushFindDataOrigin (line 627) | def PushFindDataOrigin(request_iterator, method PushBeginContext (line 643) | def PushBeginContext(request, method PushEndContext (line 659) | def PushEndContext(request, FILE: src/hangar/remote/header_manipulator_client_interceptor.py class _GenericClientInterceptor (line 30) | class _GenericClientInterceptor( method __init__ (line 35) | def __init__(self, interceptor_function): method intercept_unary_unary (line 38) | def intercept_unary_unary(self, continuation, client_call_details, req... method intercept_unary_stream (line 44) | def intercept_unary_stream(self, continuation, client_call_details, method intercept_stream_unary (line 51) | def intercept_stream_unary(self, continuation, client_call_details, method intercept_stream_stream (line 58) | def intercept_stream_stream(self, continuation, client_call_details, function create_client_interceptor (line 66) | def create_client_interceptor(intercept_call): class _ClientCallDetails (line 70) | class _ClientCallDetails( function header_adder_interceptor (line 78) | def header_adder_interceptor(header, value): FILE: src/hangar/remote/request_header_validator_interceptor.py function _unary_unary_rpc_terminator (line 54) | def _unary_unary_rpc_terminator(code, details): function _unary_stream_rpc_terminator (line 60) | def _unary_stream_rpc_terminator(code, details): # pragma: no cover function _stream_unary_rpc_terminator (line 66) | def _stream_unary_rpc_terminator(code, details): # pragma: no cover function _stream_stream_rpc_terminator (line 72) | def _stream_stream_rpc_terminator(code, details): # pragma: no cover function _select_rpc_terminator (line 78) | def _select_rpc_terminator(intercepted_method): class RequestHeaderValidatorInterceptor (line 93) | class RequestHeaderValidatorInterceptor(grpc.ServerInterceptor): method __init__ (line 95) | def __init__(self, push_restricted, header, value, code, details): method intercept_service (line 102) | def intercept_service(self, continuation, handler_call_details): FILE: src/hangar/remote/server.py function server_config (line 45) | def server_config(server_dir, *, create: bool = True) -> configparser.Co... function context_abort_with_exception_traceback (line 65) | def context_abort_with_exception_traceback( function context_abort_with_handled_error (line 77) | def context_abort_with_handled_error( class HangarServer (line 85) | class HangarServer(hangar_service_pb2_grpc.HangarServiceServicer): method __init__ (line 87) | def __init__(self, repo_path: Union[str, bytes, Path], overwrite=False): method close (line 125) | def close(self): method PING (line 132) | def PING(self, request, context): method GetClientConfig (line 138) | def GetClientConfig(self, request, context): method FetchBranchRecord (line 155) | def FetchBranchRecord(self, request, context): method PushBranchRecord (line 171) | def PushBranchRecord(self, request, context): method FetchCommit (line 196) | def FetchCommit(self, request, context): method PushCommit (line 232) | def PushCommit(self, request_iterator, context): method FetchSchema (line 262) | def FetchSchema(self, request, context): method PushSchema (line 287) | def PushSchema(self, request, context): method FetchFindDataOrigin (line 310) | def FetchFindDataOrigin(self, request_iterator, context): method FetchData (line 354) | def FetchData(self, request, context): method PushFindDataOrigin (line 408) | def PushFindDataOrigin( method PushBeginContext (line 458) | def PushBeginContext(self, request, context): method PushEndContext (line 472) | def PushEndContext(self, request, context): method PushData (line 486) | def PushData( method FetchFindMissingCommits (line 544) | def FetchFindMissingCommits(self, request, context): method PushFindMissingCommits (line 578) | def PushFindMissingCommits(self, request, context): method FetchFindMissingHashRecords (line 601) | def FetchFindMissingHashRecords(self, request_iterator, context): method PushFindMissingHashRecords (line 632) | def PushFindMissingHashRecords(self, request_iterator, context): method FetchFindMissingSchemas (line 656) | def FetchFindMissingSchemas(self, request, context): method PushFindMissingSchemas (line 675) | def PushFindMissingSchemas(self, request, context): function serve (line 689) | def serve(hangar_path: str, FILE: src/hangar/remotes.py class Remotes (line 38) | class Remotes(object): method __init__ (line 51) | def __init__(self, env: Environments): method __verify_repo_initialized (line 57) | def __verify_repo_initialized(self): method add (line 70) | def add(self, name: str, address: str) -> RemoteInfo: method remove (line 109) | def remove(self, name: str) -> RemoteInfo: method list_all (line 134) | def list_all(self) -> List[RemoteInfo]: method ping (line 151) | def ping(self, name: str) -> float: method fetch (line 182) | def fetch(self, remote: str, branch: str) -> str: method fetch_data_sample (line 287) | def fetch_data_sample(self, method _select_digests_fetch_data_sample (line 400) | def _select_digests_fetch_data_sample( method fetch_data (line 491) | def fetch_data(self, method _form_missing_schema_digest_map (line 605) | def _form_missing_schema_digest_map( method _select_digest_fetch_data (line 637) | def _select_digest_fetch_data( method push (line 667) | def push(self, remote: str, branch: str, FILE: src/hangar/repository.py class Repository (line 24) | class Repository(object): method __init__ (line 54) | def __init__(self, path: Union[str, Path], exists: bool = True): method _repr_pretty_ (line 76) | def _repr_pretty_(self, p, cycle): method __repr__ (line 95) | def __repr__(self): method __verify_repo_initialized (line 113) | def __verify_repo_initialized(self): method remote (line 128) | def remote(self) -> Remotes: method path (line 144) | def path(self) -> str: method writer_lock_held (line 156) | def writer_lock_held(self) -> bool: method version (line 168) | def version(self) -> str: method initialized (line 181) | def initialized(self) -> bool: method size_nbytes (line 193) | def size_nbytes(self) -> int: method size_human (line 210) | def size_human(self) -> str: method checkout (line 227) | def checkout(self, method clone (line 301) | def clone(self, user_name: str, user_email: str, remote_address: str, method init (line 348) | def init(self, method log (line 378) | def log(self, method summary (line 424) | def summary(self, *, branch: str = '', commit: str = '') -> None: method _details (line 449) | def _details(self, *, line_limit=100, line_length=100) -> None: # pra... method _ecosystem_details (line 467) | def _ecosystem_details(self) -> dict: method diff (line 473) | def diff(self, master: str, dev: str) -> DiffAndConflicts: method merge (line 525) | def merge(self, message: str, master_branch: str, dev_branch: str) -> ... method create_branch (line 555) | def create_branch(self, name: str, base_commit: str = None) -> heads.B... method remove_branch (line 619) | def remove_branch(self, name: str, *, force_delete: bool = False) -> h... method list_branches (line 739) | def list_branches(self) -> List[str]: method verify_repo_integrity (line 751) | def verify_repo_integrity(self) -> bool: method force_release_writer_lock (line 816) | def force_release_writer_lock(self) -> bool: FILE: src/hangar/txnctx.py class TxnRegisterSingleton (line 7) | class TxnRegisterSingleton(type): method __call__ (line 9) | def __call__(cls, *args, **kwargs): class TxnRegister (line 15) | class TxnRegister(metaclass=TxnRegisterSingleton): method __init__ (line 22) | def __init__(self): method _debug_ (line 29) | def _debug_(self): # pragma: no cover method begin_writer_txn (line 38) | def begin_writer_txn(self, lmdbenv: lmdb.Environment, method begin_reader_txn (line 64) | def begin_reader_txn(self, lmdbenv: lmdb.Environment, method commit_writer_txn (line 90) | def commit_writer_txn(self, lmdbenv: lmdb.Environment) -> bool: method abort_reader_txn (line 126) | def abort_reader_txn(self, lmdbenv: lmdb.Environment) -> bool: FILE: src/hangar/typesystem/base.py class ColumnLayout (line 6) | class ColumnLayout(String): class ColumnDType (line 11) | class ColumnDType(String): class SchemaHasherTcode (line 16) | class SchemaHasherTcode(String): class ColumnBase (line 20) | class ColumnBase(metaclass=checkedmeta): method __init__ (line 25) | def __init__( method _beopts (line 51) | def _beopts(self): method _beopts (line 61) | def _beopts(self): method _beopts (line 65) | def _beopts(self, backend_options): method column_layout (line 73) | def column_layout(self): method column_type (line 77) | def column_type(self): method schema_hasher_tcode (line 81) | def schema_hasher_tcode(self): method schema (line 85) | def schema(self): method schema_hash_digest (line 92) | def schema_hash_digest(self): method backend_from_heuristics (line 95) | def backend_from_heuristics(self, *args, **kwargs): method verify_data_compatible (line 98) | def verify_data_compatible(self, *args, **kwargs): method data_hasher_tcode (line 102) | def data_hasher_tcode(self): method data_hash_digest (line 105) | def data_hash_digest(self, *args, **kwargs): FILE: src/hangar/typesystem/descriptors.py class Descriptor (line 75) | class Descriptor: method __init__ (line 77) | def __init__(self, name=None, **opts): method __set__ (line 81) | def __set__(self, instance, value): function Typed (line 85) | def Typed(expected_type, cls=None): function TypedSequence (line 101) | def TypedSequence(expected_element_types, cls=None): function OneOf (line 119) | def OneOf(expected_values, cls=None): function MaxSized (line 133) | def MaxSized(cls): function DictItems (line 151) | def DictItems(expected_keys_required, expected_values, cls=None): class String (line 178) | class String(Descriptor): class EmptyDict (line 184) | class EmptyDict(Descriptor): class OptionalDict (line 189) | class OptionalDict(Descriptor): class OptionalString (line 194) | class OptionalString(Descriptor): class Tuple (line 199) | class Tuple(Descriptor): class SizedIntegerTuple (line 205) | class SizedIntegerTuple(Tuple): class checkedmeta (line 209) | class checkedmeta(type): method __new__ (line 211) | def __new__(cls, clsname, bases, methods): FILE: src/hangar/typesystem/ndarray.py class NdarraySchemaType (line 9) | class NdarraySchemaType(String): class NdarrayColumnType (line 14) | class NdarrayColumnType(String): class DataHasherTcode (line 19) | class DataHasherTcode(String): class NdarraySchemaBase (line 23) | class NdarraySchemaBase(ColumnBase): method __init__ (line 28) | def __init__( method backend_from_heuristics (line 53) | def backend_from_heuristics(self): method schema_type (line 69) | def schema_type(self): method shape (line 73) | def shape(self): method dtype (line 77) | def dtype(self): method backend (line 81) | def backend(self): method backend_options (line 85) | def backend_options(self): method data_hash_digest (line 88) | def data_hash_digest(self, data: np.ndarray) -> str: method change_backend (line 91) | def change_backend(self, backend, backend_options=None): method data_nbytes (line 106) | def data_nbytes(self, obj: np.ndarray): class NdarrayFixedShapeBackends (line 111) | class NdarrayFixedShapeBackends(OptionalString): class FixedShapeSchemaType (line 116) | class FixedShapeSchemaType(String): class NdarrayFixedShape (line 120) | class NdarrayFixedShape(NdarraySchemaBase): method __init__ (line 127) | def __init__(self, *args, **kwargs): method verify_data_compatible (line 142) | def verify_data_compatible(self, data): class NdarrayVariableShapeBackends (line 164) | class NdarrayVariableShapeBackends(OptionalString): class VariableShapeSchemaType (line 169) | class VariableShapeSchemaType(String): class NdarrayVariableShape (line 173) | class NdarrayVariableShape(NdarraySchemaBase): method __init__ (line 180) | def __init__(self, *args, **kwargs): method verify_data_compatible (line 195) | def verify_data_compatible(self, data): FILE: src/hangar/typesystem/pybytes.py class BytesDType (line 8) | class BytesDType(Descriptor): class BytesSchemaType (line 18) | class BytesSchemaType(String): class BytesColumnType (line 23) | class BytesColumnType(String): class DataHasherTcode (line 28) | class DataHasherTcode(String): class BytesSchemaBase (line 32) | class BytesSchemaBase(ColumnBase): method __init__ (line 37) | def __init__( method backend_from_heuristics (line 62) | def backend_from_heuristics(self): method schema_type (line 66) | def schema_type(self): method dtype (line 70) | def dtype(self): method backend (line 74) | def backend(self): method backend_options (line 78) | def backend_options(self): method data_hash_digest (line 81) | def data_hash_digest(self, data: str) -> str: method change_backend (line 84) | def change_backend(self, backend, backend_options=None): class BytesVariableShapeBackends (line 102) | class BytesVariableShapeBackends(OptionalString): class VariableShapeSchemaType (line 107) | class VariableShapeSchemaType(String): class BytesVariableShape (line 111) | class BytesVariableShape(BytesSchemaBase): method __init__ (line 117) | def __init__(self, *args, **kwargs): method verify_data_compatible (line 132) | def verify_data_compatible(self, data): FILE: src/hangar/typesystem/pystring.py class StringDType (line 8) | class StringDType(Descriptor): class StringSchemaType (line 18) | class StringSchemaType(String): class StrColumnType (line 23) | class StrColumnType(String): class DataHasherTcode (line 28) | class DataHasherTcode(String): class StringSchemaBase (line 32) | class StringSchemaBase(ColumnBase): method __init__ (line 37) | def __init__( method backend_from_heuristics (line 62) | def backend_from_heuristics(self): method schema_type (line 66) | def schema_type(self): method dtype (line 70) | def dtype(self): method backend (line 74) | def backend(self): method backend_options (line 78) | def backend_options(self): method data_hash_digest (line 81) | def data_hash_digest(self, data: str) -> str: method change_backend (line 84) | def change_backend(self, backend, backend_options=None): method data_nbytes (line 100) | def data_nbytes(self, obj: str): class StringVariableShapeBackends (line 105) | class StringVariableShapeBackends(OptionalString): class VariableShapeSchemaType (line 110) | class VariableShapeSchemaType(String): class StringVariableShape (line 114) | class StringVariableShape(StringSchemaBase): method __init__ (line 120) | def __init__(self, *args, **kwargs): method verify_data_compatible (line 135) | def verify_data_compatible(self, data): FILE: src/hangar/utils.py function bound (line 19) | def bound(low: NumType, high: NumType, value: NumType) -> NumType: function calc_num_threadpool_workers (line 38) | def calc_num_threadpool_workers() -> int: function is_64bits (line 43) | def is_64bits(): function set_blosc_nthreads (line 49) | def set_blosc_nthreads() -> int: # pragma: no cover function random_string (line 72) | def random_string( function is_suitable_user_key (line 90) | def is_suitable_user_key(key: Union[str, int]) -> bool: function is_ascii (line 120) | def is_ascii(str_data: str) -> bool: function pairwise (line 142) | def pairwise(iterable): function unique_everseen (line 149) | def unique_everseen(iterable, key=None): function ilen (line 171) | def ilen(iterable): function grouper (line 187) | def grouper(iterable, n, fillvalue=None): function file_size (line 208) | def file_size(p: Path) -> int: # pragma: no cover function folder_size (line 232) | def folder_size(p: Path, *, recurse: bool = False) -> int: function is_valid_directory_path (line 259) | def is_valid_directory_path(p: Path) -> Path: function format_bytes (line 301) | def format_bytes(n: int) -> str: function parse_bytes (line 348) | def parse_bytes(s: str) -> int: function readme_contents (line 380) | def readme_contents(user_name: str, user_email: str) -> StringIO: FILE: tests/bulk_importer/test_bulk_importer.py function assert_equal (line 5) | def assert_equal(arr, arr2): function test_bulk_importer_ndarray (line 10) | def test_bulk_importer_ndarray(repo): function test_bulk_importer_pystr (line 59) | def test_bulk_importer_pystr(repo): function test_bulk_importer_pybytes (line 104) | def test_bulk_importer_pybytes(repo): function test_bulk_importer_two_col_pybytes_pystr (line 150) | def test_bulk_importer_two_col_pybytes_pystr(repo): function test_signature_wrong (line 214) | def test_signature_wrong(repo): FILE: tests/conftest.py function monkeysession (line 20) | def monkeysession(request): function classrepo (line 28) | def classrepo(tmp_path_factory) -> Repository: function managed_tmpdir (line 64) | def managed_tmpdir(monkeypatch, tmp_path): function managed_tmpdir_class (line 80) | def managed_tmpdir_class(monkeysession, tmp_path_factory): function repo (line 99) | def repo(managed_tmpdir) -> Repository: function aset_samples_initialized_repo (line 107) | def aset_samples_initialized_repo(repo) -> Repository: function aset_subsamples_initialized_repo (line 116) | def aset_subsamples_initialized_repo(repo) -> Repository: function repo_20_filled_samples (line 126) | def repo_20_filled_samples(request, aset_samples_initialized_repo, array... function repo_20_filled_subsamples (line 141) | def repo_20_filled_subsamples(request, aset_subsamples_initialized_repo,... function repo_300_filled_samples (line 158) | def repo_300_filled_samples(request, aset_samples_initialized_repo, arra... function repo_20_filled_samples2 (line 171) | def repo_20_filled_samples2(repo) -> Repository: function aset_samples_var_shape_initialized_repo (line 185) | def aset_samples_var_shape_initialized_repo(request, repo) -> Repository: function aset_samples_initialized_w_checkout (line 195) | def aset_samples_initialized_w_checkout(aset_samples_initialized_repo) -... function array5by7 (line 202) | def array5by7(): function randomsizedarray (line 207) | def randomsizedarray(): function two_commit_filled_samples_repo (line 214) | def two_commit_filled_samples_repo(request, repo, array5by7) -> Repository: function repo_1_br_no_conf (line 234) | def repo_1_br_no_conf(repo) -> Repository: function repo_2_br_no_conf (line 257) | def repo_2_br_no_conf(repo_1_br_no_conf) -> Repository: function mock_server_config (line 271) | def mock_server_config(*args, **kwargs): function server_instance (line 287) | def server_instance(monkeypatch, managed_tmpdir, worker_id): function server_instance_class (line 307) | def server_instance_class(monkeysession, tmp_path_factory, worker_id): function written_two_cmt_server_repo (line 334) | def written_two_cmt_server_repo(server_instance, two_commit_filled_sampl... function server_instance_push_restricted (line 343) | def server_instance_push_restricted(monkeypatch, managed_tmpdir, worker_... FILE: tests/ml_datasets/test_dataset.py class TestInternalDatasetClass (line 18) | class TestInternalDatasetClass: method test_column_without_wrapping_list (line 20) | def test_column_without_wrapping_list(self, repo_20_filled_samples, ar... method test_no_column (line 31) | def test_no_column(self): method test_fails_on_write_enabled_columns (line 35) | def test_fails_on_write_enabled_columns(self, repo_20_filled_samples): method test_columns_without_local_data_and_without_key_argument (line 44) | def test_columns_without_local_data_and_without_key_argument(self, rep... method test_columns_without_common_keys_and_without_key_argument (line 71) | def test_columns_without_common_keys_and_without_key_argument(self, re... method test_keys_single_column_success (line 84) | def test_keys_single_column_success(self, repo_20_filled_samples): method test_keys_multiple_column_success (line 92) | def test_keys_multiple_column_success(self, repo_20_filled_samples): method test_keys_nested_column_success (line 104) | def test_keys_nested_column_success(self, repo_20_filled_subsamples): method test_keys_not_valid (line 122) | def test_keys_not_valid(self, repo_20_filled_samples): method test_keys_non_local (line 132) | def test_keys_non_local(self, repo_20_filled_samples): class TestNumpyDataset (line 154) | class TestNumpyDataset: method test_multiple_dataset_batched_loader (line 155) | def test_multiple_dataset_batched_loader(self, repo_20_filled_samples): method test_nested_column (line 189) | def test_nested_column(self, repo_20_filled_subsamples): method test_lots_of_data_with_multiple_backend (line 210) | def test_lots_of_data_with_multiple_backend(self, repo_300_filled_samp... method test_shuffle (line 220) | def test_shuffle(self, repo_20_filled_samples): method test_collate_fn (line 243) | def test_collate_fn(self, repo_20_filled_subsamples): class TestTorchDataset (line 281) | class TestTorchDataset(object): method test_multiple_dataset_loader (line 283) | def test_multiple_dataset_loader(self, repo_20_filled_samples): method test_return_as_dict (line 298) | def test_return_as_dict(self, repo_20_filled_samples): method test_lots_of_data_with_multiple_backend (line 311) | def test_lots_of_data_with_multiple_backend(self, repo_300_filled_samp... method test_lots_of_data_with_multiple_backend_multiple_worker_dataloader (line 324) | def test_lots_of_data_with_multiple_backend_multiple_worker_dataloader... method test_two_aset_loader_two_worker_dataloader (line 336) | def test_two_aset_loader_two_worker_dataloader(self, repo_20_filled_sa... class TestTfDataset (line 358) | class TestTfDataset(object): method test_dataset_loader (line 361) | def test_dataset_loader(self, repo_20_filled_samples): method test_variably_shaped (line 375) | def test_variably_shaped(self, aset_samples_var_shape_initialized_repo): method test_lots_of_data_with_multiple_backend (line 397) | def test_lots_of_data_with_multiple_backend(self, repo_300_filled_samp... method test_shuffle (line 407) | def test_shuffle(self, repo_20_filled_samples): FILE: tests/property_based/test_pbt_column_flat.py function fixed_shape_repo_co_float32_aset_flat (line 26) | def fixed_shape_repo_co_float32_aset_flat(classrepo, request) -> Reposit... function variable_shape_repo_co_float32_aset_flat (line 44) | def variable_shape_repo_co_float32_aset_flat(classrepo, request) -> Repo... function variable_shape_repo_co_uint8_aset_flat (line 62) | def variable_shape_repo_co_uint8_aset_flat(classrepo, request) -> Reposi... function variable_shape_repo_co_str_aset_flat (line 80) | def variable_shape_repo_co_str_aset_flat(classrepo, request) -> Repository: function variable_shape_repo_co_bytes_aset_flat (line 95) | def variable_shape_repo_co_bytes_aset_flat(classrepo, request) -> Reposi... class TestColumn1 (line 144) | class TestColumn1: method test_arrayset_fixed_key_values (line 148) | def test_arrayset_fixed_key_values(self, key, val, fixed_shape_repo_co... class TestColumn2 (line 179) | class TestColumn2: method test_arrayset_variable_shape_float32 (line 183) | def test_arrayset_variable_shape_float32(self, key, val, variable_shap... class TestColumn3 (line 205) | class TestColumn3: method test_arrayset_variable_shape_uint8 (line 209) | def test_arrayset_variable_shape_uint8(self, key, val, variable_shape_... class TestColumn4 (line 229) | class TestColumn4: method test_str_column_variable_shape (line 233) | def test_str_column_variable_shape(self, key, val, variable_shape_repo... class TestColumn5 (line 253) | class TestColumn5: method test_bytes_column_variable_shape (line 257) | def test_bytes_column_variable_shape(self, key, val, variable_shape_re... FILE: tests/property_based/test_pbt_column_nested.py function fixed_shape_repo_co_float32_aset_nested (line 28) | def fixed_shape_repo_co_float32_aset_nested(classrepo, request) -> Repos... function variable_shape_repo_co_float32_aset_nested (line 46) | def variable_shape_repo_co_float32_aset_nested(classrepo, request) -> Re... function variable_shape_repo_co_uint8_aset_nested (line 64) | def variable_shape_repo_co_uint8_aset_nested(classrepo, request) -> Repo... function variable_shape_repo_co_str_aset_nested (line 82) | def variable_shape_repo_co_str_aset_nested(classrepo, request) -> Reposi... function variable_shape_repo_co_bytes_aset_nested (line 97) | def variable_shape_repo_co_bytes_aset_nested(classrepo, request) -> Repo... class TestColumn1 (line 145) | class TestColumn1: method test_arrayset_fixed_key_values_nested (line 149) | def test_arrayset_fixed_key_values_nested(self, key, subkey, val, fixe... class TestColumn2 (line 183) | class TestColumn2: method test_arrayset_variable_shape_float32_nested (line 187) | def test_arrayset_variable_shape_float32_nested(self, key, val, subkey... class TestColumn3 (line 211) | class TestColumn3: method test_arrayset_variable_shape_uint8_nested (line 215) | def test_arrayset_variable_shape_uint8_nested(self, key, val, subkey, ... class TestStrColumn (line 237) | class TestStrColumn: method test_str_column_variable_shape_nested (line 241) | def test_str_column_variable_shape_nested(self, key, subkey, val, vari... class TestBytesColumn (line 261) | class TestBytesColumn: method test_bytes_column_variable_shape_nested (line 265) | def test_bytes_column_variable_shape_nested(self, key, subkey, val, va... FILE: tests/test_backend_hdf5_00_hdf5_01.py function be_filehandle (line 6) | def be_filehandle(request): function test_blosc_filter_opts_result_in_correct_dataset_args (line 24) | def test_blosc_filter_opts_result_in_correct_dataset_args( function test_lzf_filter_opts_result_in_correct_dataset_args (line 38) | def test_lzf_filter_opts_result_in_correct_dataset_args(be_filehandle, c... function test_gzip_filter_opts_result_in_correct_dataset_args (line 51) | def test_gzip_filter_opts_result_in_correct_dataset_args(be_filehandle, ... function test_arrayset_init_with_various_blosc_opts (line 72) | def test_arrayset_init_with_various_blosc_opts(repo, array5by7, clib, cl... function test_arrayset_init_with_various_lzf_opts (line 99) | def test_arrayset_init_with_various_lzf_opts(repo, array5by7, cshuffle, ... function test_arrayset_init_with_various_gzip_opts (line 124) | def test_arrayset_init_with_various_gzip_opts(repo, array5by7, clevel, c... function test_arrayset_overflows_collection_size_collection_count (line 150) | def test_arrayset_overflows_collection_size_collection_count(be_code, re... FILE: tests/test_branching.py function test_create_branch_fails_invalid_name (line 8) | def test_create_branch_fails_invalid_name(aset_samples_initialized_repo,... function test_list_branches_only_reports_master_upon_initialization (line 14) | def test_list_branches_only_reports_master_upon_initialization(repo): function test_cannot_create_new_branch_from_initialized_repo_with_no_commits (line 19) | def test_cannot_create_new_branch_from_initialized_repo_with_no_commits(... function test_can_create_new_branch_from_repo_with_one_commit (line 24) | def test_can_create_new_branch_from_repo_with_one_commit(repo): function test_cannot_duplicate_branch_name (line 36) | def test_cannot_duplicate_branch_name(aset_samples_initialized_repo): function test_create_multiple_branches_different_name_same_commit (line 42) | def test_create_multiple_branches_different_name_same_commit(aset_sample... function test_create_branch_by_specifying_base_commit (line 53) | def test_create_branch_by_specifying_base_commit(repo): function test_remove_branch_works_when_commits_align (line 79) | def test_remove_branch_works_when_commits_align(repo): function test_delete_branch_raises_runtime_error_when_history_not_merged (line 96) | def test_delete_branch_raises_runtime_error_when_history_not_merged(repo): function test_delete_branch_completes_when_history_not_merged_but_force_option_set (line 119) | def test_delete_branch_completes_when_history_not_merged_but_force_optio... function test_delete_branch_raises_value_error_if_invalid_branch_name (line 144) | def test_delete_branch_raises_value_error_if_invalid_branch_name(repo): function test_delete_branch_raises_permission_error_if_writer_lock_held (line 165) | def test_delete_branch_raises_permission_error_if_writer_lock_held(repo): function test_delete_branch_raises_permission_error_if_branch_requested_is_staging_head (line 187) | def test_delete_branch_raises_permission_error_if_branch_requested_is_st... function test_delete_branch_raises_permission_error_if_only_one_branch_left (line 206) | def test_delete_branch_raises_permission_error_if_only_one_branch_left(r... FILE: tests/test_checkout.py class TestCheckout (line 7) | class TestCheckout(object): method test_write_checkout_specifying_commit_not_allowed_if_commit_exists (line 9) | def test_write_checkout_specifying_commit_not_allowed_if_commit_exists... method test_write_checkout_specifying_commit_not_allowed_if_commit_does_not_exists (line 14) | def test_write_checkout_specifying_commit_not_allowed_if_commit_does_n... method test_two_write_checkouts (line 19) | def test_two_write_checkouts(self, repo): method test_two_read_checkouts (line 25) | def test_two_read_checkouts(self, repo, array5by7): method test_write_with_read_checkout (line 40) | def test_write_with_read_checkout(self, aset_samples_initialized_repo,... method test_writer_aset_obj_not_accessible_after_close (line 48) | def test_writer_aset_obj_not_accessible_after_close(self, two_commit_f... method test_writer_aset_obj_arrayset_iter_values_not_accessible_after_close (line 62) | def test_writer_aset_obj_arrayset_iter_values_not_accessible_after_clo... method test_writer_aset_obj_arrayset_iter_items_not_accessible_after_close (line 74) | def test_writer_aset_obj_arrayset_iter_items_not_accessible_after_clos... method test_writer_aset_obj_not_accessible_after_commit_and_close (line 87) | def test_writer_aset_obj_not_accessible_after_commit_and_close(self, a... method test_reader_aset_obj_not_accessible_after_close (line 105) | def test_reader_aset_obj_not_accessible_after_close(self, two_commit_f... method test_reader_aset_obj_column_iter_values_not_accessible_after_close (line 119) | def test_reader_aset_obj_column_iter_values_not_accessible_after_close... method test_reader_aset_obj_arrayset_iter_items_not_accessible_after_close (line 131) | def test_reader_aset_obj_arrayset_iter_items_not_accessible_after_clos... method test_reader_arrayset_context_manager_not_accessible_after_close (line 144) | def test_reader_arrayset_context_manager_not_accessible_after_close(se... method test_writer_arrayset_context_manager_not_accessible_after_close (line 162) | def test_writer_arrayset_context_manager_not_accessible_after_close(se... method test_close_read_does_not_invalidate_write_checkout (line 180) | def test_close_read_does_not_invalidate_write_checkout(self, aset_samp... method test_close_write_does_not_invalidate_read_checkout (line 198) | def test_close_write_does_not_invalidate_read_checkout(self, aset_samp... method test_operate_on_arrayset_after_closing_old_checkout (line 216) | def test_operate_on_arrayset_after_closing_old_checkout(self, repo, ar... method test_operate_on_closed_checkout (line 229) | def test_operate_on_closed_checkout(self, repo, array5by7): method test_operate_on_arrayset_samples_after_commiting_but_not_closing_checkout (line 238) | def test_operate_on_arrayset_samples_after_commiting_but_not_closing_c... method test_operate_on_arraysets_after_commiting_but_not_closing_checkout (line 254) | def test_operate_on_arraysets_after_commiting_but_not_closing_checkout... method test_with_wrong_argument_value (line 274) | def test_with_wrong_argument_value(self, repo): method test_reset_staging_area_no_changes_made_does_not_work (line 290) | def test_reset_staging_area_no_changes_made_does_not_work(self, aset1_... method test_reset_staging_area_clears_arraysets (line 314) | def test_reset_staging_area_clears_arraysets(self, aset1_backend, aset... method test_checkout_dunder_contains_method (line 337) | def test_checkout_dunder_contains_method(self, repo_20_filled_samples,... method test_checkout_dunder_len_method (line 345) | def test_checkout_dunder_len_method(self, repo_20_filled_samples, write): method test_checkout_dunder_iter_method (line 351) | def test_checkout_dunder_iter_method(self, repo_20_filled_samples, wri... method test_checkout_keys_method (line 364) | def test_checkout_keys_method(self, repo_20_filled_samples, write): method test_checkout_values_method (line 373) | def test_checkout_values_method(self, repo_20_filled_samples, write): method test_checkout_items_method (line 388) | def test_checkout_items_method(self, repo_20_filled_samples, write): method test_checkout_log_method (line 404) | def test_checkout_log_method(self, repo_20_filled_samples, write): class TestBranchingMergingInCheckout (line 412) | class TestBranchingMergingInCheckout(object): method test_merge (line 414) | def test_merge(self, aset_samples_initialized_repo, array5by7): method test_merge_without_closing_previous_checkout (line 431) | def test_merge_without_closing_previous_checkout(self, aset_samples_in... method test_merge_multiple_checkouts_same_aset (line 441) | def test_merge_multiple_checkouts_same_aset(self, aset_samples_initial... method test_merge_multiple_checkouts_multiple_aset (line 469) | def test_merge_multiple_checkouts_multiple_aset(self, aset_samples_ini... method test_merge_diverged_conflict (line 492) | def test_merge_diverged_conflict(self, aset_samples_initialized_repo, ... method test_new_branch_from_where (line 518) | def test_new_branch_from_where(self, aset_samples_initialized_repo, ar... method test_cannot_checkout_branch_with_staged_changes (line 541) | def test_cannot_checkout_branch_with_staged_changes(self, aset_samples... function test_full_from_short_commit_digest (line 565) | def test_full_from_short_commit_digest(two_commit_filled_samples_repo): function test_writer_context_manager_objects_are_gc_removed_after_co_close (line 580) | def test_writer_context_manager_objects_are_gc_removed_after_co_close(tw... function test_reader_context_manager_objects_are_gc_removed_after_co_close (line 615) | def test_reader_context_manager_objects_are_gc_removed_after_co_close(tw... function test_checkout_branch_not_existing_does_not_hold_writer_lock (line 641) | def test_checkout_branch_not_existing_does_not_hold_writer_lock(two_comm... FILE: tests/test_checkout_arrayset_access.py function test_arrayset_getattr_does_not_raise_permission_error_if_alive (line 9) | def test_arrayset_getattr_does_not_raise_permission_error_if_alive(write... function test_write_in_context_manager_no_loop (line 26) | def test_write_in_context_manager_no_loop(aset_samples_initialized_repo,... function test_write_in_context_manager_many_samples_looping (line 50) | def test_write_in_context_manager_many_samples_looping(aset_samples_init... function test_write_fails_if_checkout_closed (line 86) | def test_write_fails_if_checkout_closed(aset_samples_initialized_repo, a... function test_write_context_manager_fails_if_checkout_closed (line 105) | def test_write_context_manager_fails_if_checkout_closed(aset_samples_ini... function test_writer_co_read_single_aset_single_sample (line 127) | def test_writer_co_read_single_aset_single_sample(aset_samples_initializ... function test_writer_co_read_single_aset_multiple_samples (line 141) | def test_writer_co_read_single_aset_multiple_samples(aset_samples_initia... function test_writer_co_read_multiple_aset_single_samples (line 156) | def test_writer_co_read_multiple_aset_single_samples(aset_samples_initia... function test_writer_co_read_multtiple_aset_multiple_samples (line 180) | def test_writer_co_read_multtiple_aset_multiple_samples(aset_samples_ini... function test_writer_co_read_fails_nonexistant_aset_name (line 205) | def test_writer_co_read_fails_nonexistant_aset_name(aset_samples_initial... function test_writer_co_read_fails_nonexistant_sample_name (line 215) | def test_writer_co_read_fails_nonexistant_sample_name(aset_samples_initi... function test_writer_co_get_returns_none_on_nonexistant_sample_name (line 225) | def test_writer_co_get_returns_none_on_nonexistant_sample_name(aset_samp... function test_writer_co_read_in_context_manager_no_loop (line 235) | def test_writer_co_read_in_context_manager_no_loop(aset_samples_initiali... function test_writer_co_read_in_context_manager_many_samples_looping (line 248) | def test_writer_co_read_in_context_manager_many_samples_looping(aset_sam... function test_co_read_dunder_getitem_excepts_missing_sample (line 281) | def test_co_read_dunder_getitem_excepts_missing_sample(aset_samples_init... function test_co_read_get_except_missing_true_excepts_missing_sample (line 289) | def test_co_read_get_except_missing_true_excepts_missing_sample(aset_sam... function test_co_read_get_except_missing_false_returns_none_on_missing_sample (line 297) | def test_co_read_get_except_missing_false_returns_none_on_missing_sample... function test_writer_co_aset_finds_connection_manager_of_any_aset_in_cm (line 306) | def test_writer_co_aset_finds_connection_manager_of_any_aset_in_cm(aset_... function test_writer_co_aset_cm_not_allow_remove_aset (line 327) | def test_writer_co_aset_cm_not_allow_remove_aset(aset_samples_initialize... function test_writer_co_column_instance_cm_not_allow_any_column_removal (line 359) | def test_writer_co_column_instance_cm_not_allow_any_column_removal(repo_... function test_writer_co_aset_removes_all_samples_and_arrayset_still_exists (line 423) | def test_writer_co_aset_removes_all_samples_and_arrayset_still_exists(as... function test_reader_co_read_single_aset_single_sample (line 452) | def test_reader_co_read_single_aset_single_sample(aset_samples_initializ... function test_reader_co_read_single_aset_multiple_samples (line 469) | def test_reader_co_read_single_aset_multiple_samples(aset_samples_initia... function test_reader_co_read_multiple_aset_single_samples (line 487) | def test_reader_co_read_multiple_aset_single_samples(aset_samples_initia... function test_reader_co_read_multtiple_aset_multiple_samples (line 514) | def test_reader_co_read_multtiple_aset_multiple_samples(aset_samples_ini... function test_reader_co_read_fails_nonexistant_aset_name (line 542) | def test_reader_co_read_fails_nonexistant_aset_name(aset_samples_initial... function test_reader_co_read_fails_nonexistant_sample_name (line 549) | def test_reader_co_read_fails_nonexistant_sample_name(aset_samples_initi... function test_reader_co_get_read_returns_none_nonexistant_sample_name (line 562) | def test_reader_co_get_read_returns_none_nonexistant_sample_name(aset_sa... function test_reader_co_read_in_context_manager_no_loop (line 575) | def test_reader_co_read_in_context_manager_no_loop(aset_samples_initiali... function test_reader_co_read_in_context_manager_many_samples_looping (line 592) | def test_reader_co_read_in_context_manager_many_samples_looping(aset_sam... FILE: tests/test_cli.py function test_help_option (line 49) | def test_help_option(): function test_help_no_args_option (line 57) | def test_help_no_args_option(): function test_version_long_option (line 65) | def test_version_long_option(): function test_init_repo (line 74) | def test_init_repo(managed_tmpdir): function test_writer_lock_is_held_check (line 87) | def test_writer_lock_is_held_check(repo_20_filled_samples2): function test_writer_lock_force_release (line 99) | def test_writer_lock_force_release(repo_20_filled_samples2): function test_checkout_writer_branch_works (line 115) | def test_checkout_writer_branch_works(repo_20_filled_samples2): function test_checkout_writer_branch_nonexistant_branch_errors (line 127) | def test_checkout_writer_branch_nonexistant_branch_errors(repo_20_filled... function test_checkout_writer_branch_lock_held_errors (line 138) | def test_checkout_writer_branch_lock_held_errors(repo_20_filled_samples2): function test_diff_command (line 157) | def test_diff_command(repo_2_br_no_conf): function test_commit_cli_message (line 163) | def test_commit_cli_message(repo_20_filled_samples2): function test_commit_cli_message_with_no_changes (line 187) | def test_commit_cli_message_with_no_changes(repo_20_filled_samples2): function substitute_editor_commit_message (line 207) | def substitute_editor_commit_message(hint): function test_commit_editor_message (line 211) | def test_commit_editor_message(monkeypatch, repo_20_filled_samples2): function substitute_editor_empty_commit_message (line 238) | def substitute_editor_empty_commit_message(hint): function test_commit_editor_empty_message (line 242) | def test_commit_editor_empty_message(monkeypatch, repo_20_filled_samples2): function test_clone (line 265) | def test_clone(written_two_cmt_server_repo): function test_push_fetch_records (line 287) | def test_push_fetch_records(server_instance, backend): function test_fetch_records_and_data (line 333) | def test_fetch_records_and_data(server_instance, backend, options): function test_add_remote (line 383) | def test_add_remote(managed_tmpdir): function test_remove_remote (line 404) | def test_remove_remote(managed_tmpdir): function test_list_all_remotes (line 430) | def test_list_all_remotes(managed_tmpdir): function test_summary (line 463) | def test_summary(written_two_cmt_server_repo, capsys): function test_summary_before_commit_made (line 487) | def test_summary_before_commit_made(managed_tmpdir): function test_log (line 501) | def test_log(written_two_cmt_server_repo, capsys): function test_status (line 525) | def test_status(repo_20_filled_samples2): function test_arrayset_create_uint8 (line 544) | def test_arrayset_create_uint8(repo_20_filled_samples2): function test_arrayset_create_float32 (line 562) | def test_arrayset_create_float32(repo_20_filled_samples2): function test_arrayset_create_invalid_dtype_fails (line 580) | def test_arrayset_create_invalid_dtype_fails(repo_20_filled_samples2): function test_arrayset_create_invalid_name_fails (line 597) | def test_arrayset_create_invalid_name_fails(repo_20_filled_samples2): function test_arrayset_create_variable_shape (line 612) | def test_arrayset_create_variable_shape(repo_20_filled_samples2): function test_arrayset_create_contains_subsamples (line 631) | def test_arrayset_create_contains_subsamples(repo_20_filled_samples2): function test_remove_arrayset (line 650) | def test_remove_arrayset(repo_20_filled_samples2): function test_remove_non_existing_arrayset (line 663) | def test_remove_non_existing_arrayset(repo_20_filled_samples2): function test_branch_create_and_list (line 678) | def test_branch_create_and_list(written_two_cmt_server_repo): function test_branch_create_and_delete (line 710) | def test_branch_create_and_delete(written_two_cmt_server_repo): function test_start_server (line 765) | def test_start_server(managed_tmpdir): function test_db_view_command (line 779) | def test_db_view_command(repo_20_filled_samples): function monkeypatch_scan (line 798) | def monkeypatch_scan(provides, accepts, attribute, func): function written_repo_with_1_sample (line 810) | def written_repo_with_1_sample(aset_samples_initialized_repo): class TestImport (line 823) | class TestImport(object): method load (line 826) | def load(fpath, *args, **kwargs): method test_import (line 832) | def test_import(self, monkeypatch, written_repo_with_1_sample): method test_import_wrong_args (line 870) | def test_import_wrong_args(self, monkeypatch, written_repo_with_1_samp... method test_import_generator_on_load (line 909) | def test_import_generator_on_load(self, monkeypatch, written_repo_with... class TestExport (line 936) | class TestExport(object): method save (line 940) | def save(cls, data, outdir, sampleN, extension, *args, **kwargs): method test_export_success (line 945) | def test_export_success(self, monkeypatch, written_repo_with_1_sample,... method test_export_wrong_out_location (line 981) | def test_export_wrong_out_location(self, monkeypatch, written_repo_wit... method test_export_wrong_arg (line 997) | def test_export_wrong_arg(self, monkeypatch, written_repo_with_1_sampl... method test_export_without_specifying_out (line 1009) | def test_export_without_specifying_out(self, monkeypatch, written_repo... method test_export_for_non_existent_sample (line 1021) | def test_export_for_non_existent_sample(self, monkeypatch, written_rep... method test_export_for_specified_branch (line 1033) | def test_export_for_specified_branch(self, monkeypatch, written_repo_w... class TestShow (line 1045) | class TestShow(object): method show (line 1049) | def show(cls, fpath, *args, **kwargs): method test_show_success (line 1052) | def test_show_success(self, monkeypatch, written_repo_with_1_sample): method test_show_on_startpoint (line 1064) | def test_show_on_startpoint(self, monkeypatch, written_repo_with_1_sam... method test_show_with_wrong_arg (line 1078) | def test_show_with_wrong_arg(self, monkeypatch, written_repo_with_1_sa... method test_wrong_sample_name (line 1090) | def test_wrong_sample_name(self, monkeypatch, written_repo_with_1_samp... FILE: tests/test_column.py function assert_equal (line 7) | def assert_equal(arr, arr2): class TestColumn (line 12) | class TestColumn(object): method test_invalid_column_name (line 17) | def test_invalid_column_name(self, repo, randomsizedarray, name): method test_read_only_mode (line 25) | def test_read_only_mode(self, aset_samples_initialized_repo): method test_get_column (line 40) | def test_get_column(self, aset_samples_initialized_repo, array5by7): method test_remove_column (line 63) | def test_remove_column(self, aset_backend, aset_samples_initialized_re... method test_init_again (line 89) | def test_init_again(self, aset_backend, repo, randomsizedarray): method test_column_with_more_dimension (line 97) | def test_column_with_more_dimension(self, aset_backend, repo): method test_column_with_empty_dimension (line 112) | def test_column_with_empty_dimension(self, aset_backend, repo): method test_column_with_int_specifier_as_dimension (line 130) | def test_column_with_int_specifier_as_dimension(self, aset_backend, re... method test_getattr_does_not_raise_permission_error_if_alive (line 150) | def test_getattr_does_not_raise_permission_error_if_alive(self, aset_b... class TestDataWithFixedSizedColumn (line 173) | class TestDataWithFixedSizedColumn(object): method test_column_remote_references_property_with_none (line 178) | def test_column_remote_references_property_with_none( method test_column_remote_references_property_with_remotes (line 198) | def test_column_remote_references_property_with_remotes( method test_iterating_over (line 230) | def test_iterating_over(self, aset1_backend, aset2_backend, aset3_back... method test_iterating_over_local_only (line 280) | def test_iterating_over_local_only(self, aset1_backend, aset2_backend,... method test_get_data (line 363) | def test_get_data(self, aset_samples_initialized_repo, array5by7): method test_get_sample_with_default_works (line 372) | def test_get_sample_with_default_works(self, aset_samples_initialized_... method test_get_multiple_samples_fails (line 380) | def test_get_multiple_samples_fails(self, aset_samples_initialized_rep... method test_getitem_multiple_samples_missing_key (line 399) | def test_getitem_multiple_samples_missing_key(self, aset_samples_initi... method test_get_multiple_samples_missing_key (line 413) | def test_get_multiple_samples_missing_key(self, aset_samples_initializ... method test_add_data_str_keys (line 425) | def test_add_data_str_keys(self, aset_samples_initialized_repo, array5... method test_add_data_int_keys (line 440) | def test_add_data_int_keys(self, aset_samples_initialized_repo, array5... method test_cannot_add_data_negative_int_key (line 454) | def test_cannot_add_data_negative_int_key(self, aset_samples_initializ... method test_cannot_add_data_float_key (line 462) | def test_cannot_add_data_float_key(self, aset_samples_initialized_repo... method test_add_data_mixed_int_str_keys (line 472) | def test_add_data_mixed_int_str_keys(self, aset_samples_initialized_re... method test_cannot_add_data_sample_name_longer_than_64_characters (line 492) | def test_cannot_add_data_sample_name_longer_than_64_characters(self, a... method test_add_with_wrong_argument_order (line 500) | def test_add_with_wrong_argument_order(self, aset_samples_initialized_... method test_update_with_dict_single_item (line 505) | def test_update_with_dict_single_item(self, aset_samples_initialized_w... method test_update_with_dict_multiple_items (line 511) | def test_update_with_dict_multiple_items(self, aset_samples_initialize... method test_update_with_list_single_item (line 521) | def test_update_with_list_single_item(self, aset_samples_initialized_w... method test_update_with_list_multiple_items (line 531) | def test_update_with_list_multiple_items(self, aset_samples_initialize... method test_update_with_only_kwargs_single_item (line 541) | def test_update_with_only_kwargs_single_item(self, aset_samples_initia... method test_update_with_only_kwargs_multiple_items (line 546) | def test_update_with_only_kwargs_multiple_items(self, aset_samples_ini... method test_update_with_list_and_kwargs (line 552) | def test_update_with_list_and_kwargs(self, aset_samples_initialized_w_... method test_update_with_dict_and_kwargs (line 563) | def test_update_with_dict_and_kwargs(self, aset_samples_initialized_w_... method test_update_with_dict_and_kwargs_does_not_modify_input_in_calling_scopy (line 574) | def test_update_with_dict_and_kwargs_does_not_modify_input_in_calling_... method test_update_with_invalid_data_map_fails (line 609) | def test_update_with_invalid_data_map_fails(self, aset_samples_initial... method test_setitem_with_invalid_data_map_fails (line 626) | def test_setitem_with_invalid_data_map_fails(self, aset_samples_initia... method test_add_multiple_data_single_commit (line 631) | def test_add_multiple_data_single_commit(self, aset_samples_initialize... method test_add_same_data_same_key_does_not_duplicate_hash (line 646) | def test_add_same_data_same_key_does_not_duplicate_hash(self, aset_sam... method test_multiple_data_multiple_commit (line 658) | def test_multiple_data_multiple_commit(self, aset_samples_initialized_... method test_added_but_not_commited (line 679) | def test_added_but_not_commited(self, aset_samples_initialized_repo, a... method test_remove_data (line 693) | def test_remove_data(self, aset_samples_initialized_repo, array5by7): method test_remove_data_multiple_items (line 723) | def test_remove_data_multiple_items(self, aset_samples_initialized_rep... method test_pop_data (line 757) | def test_pop_data(self, aset_samples_initialized_repo, array5by7): method test_pop_data_multiple_items (line 792) | def test_pop_data_multiple_items(self, aset_samples_initialized_repo, ... method test_remove_all_data (line 826) | def test_remove_all_data(self, aset_samples_initialized_repo, array5by7): method test_remove_data_nonexistant_sample_key_raises (line 869) | def test_remove_data_nonexistant_sample_key_raises(self, aset_samples_... method test_multiple_columns_single_commit (line 882) | def test_multiple_columns_single_commit( method test_prototype_and_shape (line 899) | def test_prototype_and_shape(self, aset1_backend, aset2_backend, repo,... method test_samples_without_name (line 915) | def test_samples_without_name(self, repo, randomsizedarray): method test_append_samples (line 927) | def test_append_samples(self, repo, randomsizedarray): method test_different_data_types_and_shapes (line 940) | def test_different_data_types_and_shapes(self, repo): method test_add_sample_with_non_numpy_array_data_fails (line 959) | def test_add_sample_with_non_numpy_array_data_fails(self, aset_samples... method test_add_sample_with_fortran_order_data_fails (line 965) | def test_add_sample_with_fortran_order_data_fails(self, aset_samples_i... method test_add_sample_with_dimension_rank_fails (line 971) | def test_add_sample_with_dimension_rank_fails(self, repo): method test_add_sample_with_dimension_exceeding_max_fails (line 979) | def test_add_sample_with_dimension_exceeding_max_fails(self, repo): method test_writer_context_manager_column_add_sample (line 988) | def test_writer_context_manager_column_add_sample(self, aset_backend, ... method test_column_context_manager_aset_sample_add (line 1000) | def test_column_context_manager_aset_sample_add(self, aset_backend, re... method test_writer_column_properties_are_correct (line 1014) | def test_writer_column_properties_are_correct(self, aset_samples_initi... method test_reader_column_properties_are_correct (line 1031) | def test_reader_column_properties_are_correct(self, aset_samples_initi... method test_iter_column_samples_yields_keys (line 1047) | def test_iter_column_samples_yields_keys(self, aset_samples_initialize... method test_iter_columns_yields_aset_names (line 1059) | def test_iter_columns_yields_aset_names(self, repo_20_filled_samples): method test_set_item_column_fails (line 1065) | def test_set_item_column_fails(self, aset_samples_initialized_repo): class TestVariableSizedColumn (line 1072) | class TestVariableSizedColumn(object): method test_write_all_zeros_same_size_different_shape_does_not_store_as_identical_hashs (line 1083) | def test_write_all_zeros_same_size_different_shape_does_not_store_as_i... method test_writer_can_create_variable_size_column (line 1153) | def test_writer_can_create_variable_size_column( method test_reader_recieves_expected_values_for_variable_size_column (line 1185) | def test_reader_recieves_expected_values_for_variable_size_column( method test_writer_reader_can_create_read_multiple_variable_size_column (line 1221) | def test_writer_reader_can_create_read_multiple_variable_size_column( method test_writer_column_properties_are_correct (line 1254) | def test_writer_column_properties_are_correct(self, aset_samples_var_s... method test_reader_column_properties_are_correct (line 1269) | def test_reader_column_properties_are_correct(self, aset_samples_var_s... class TestMultiprocessColumnReads (line 1285) | class TestMultiprocessColumnReads(object): method test_external_multi_process_pool (line 1288) | def test_external_multi_process_pool(self, repo, backend): method test_external_multi_process_pool_fails_on_write_enabled_checkout (line 1323) | def test_external_multi_process_pool_fails_on_write_enabled_checkout(s... method test_multiprocess_get_succeeds_on_superset_and_subset_of_keys (line 1345) | def test_multiprocess_get_succeeds_on_superset_and_subset_of_keys(self... method test_writer_iterating_over_keys_can_have_additions_made_no_error (line 1381) | def test_writer_iterating_over_keys_can_have_additions_made_no_error(s... method test_writer_iterating_over_values_can_have_additions_made_no_error (line 1401) | def test_writer_iterating_over_values_can_have_additions_made_no_error... method test_writer_iterating_over_items_can_have_additions_made_no_error (line 1422) | def test_writer_iterating_over_items_can_have_additions_made_no_error(... method test_reader_iterating_over_items_can_not_make_additions (line 1445) | def test_reader_iterating_over_items_can_not_make_additions(self, two_... FILE: tests/test_column_backends.py function test_backend_property_reports_correct_backend (line 7) | def test_backend_property_reports_correct_backend(repo, array5by7, backe... function test_setting_backend_property_cannot_change_backend (line 23) | def test_setting_backend_property_cannot_change_backend(repo, array5by7,... function test_setting_backend_opts_property_cannot_change_backend_opts (line 44) | def test_setting_backend_opts_property_cannot_change_backend_opts(repo, ... function test_heuristics_select_backend (line 80) | def test_heuristics_select_backend(repo, shape, dtype, variable_shape, e... function test_manual_override_heuristics_select_backend (line 111) | def test_manual_override_heuristics_select_backend(repo, prototype, back... function test_manual_override_heuristics_invalid_value_raises_error (line 139) | def test_manual_override_heuristics_invalid_value_raises_error(repo): function test_manual_change_backends_after_write_works (line 150) | def test_manual_change_backends_after_write_works(repo, array5by7, backe... function test_manual_change_backend_to_invalid_fmt_code_fails (line 196) | def test_manual_change_backend_to_invalid_fmt_code_fails(repo, array5by7... function test_manual_change_backend_fails_while_in_cm (line 239) | def test_manual_change_backend_fails_while_in_cm(repo, array5by7, backen... function dummy_writer_checkout (line 297) | def dummy_writer_checkout(classrepo): class TestComplibRestrictions (line 303) | class TestComplibRestrictions: method test_schema_smaller_16_bytes_cannot_select_blosc_backend (line 317) | def test_schema_smaller_16_bytes_cannot_select_blosc_backend( function test_schema_smaller_16_bytes_does_not_use_heuristic_to_select_blosc (line 346) | def test_schema_smaller_16_bytes_does_not_use_heuristic_to_select_blosc( function test_schema_smaller_16_bytes_cannot_change_to_blosc_backend (line 375) | def test_schema_smaller_16_bytes_cannot_change_to_blosc_backend( FILE: tests/test_column_definition_permutations.py function assert_equal (line 10) | def assert_equal(expected, actual): function ndarray_generate_data_fixed_shape (line 20) | def ndarray_generate_data_fixed_shape(shape, dtype, low=0, high=255): function ndarray_generate_data_variable_shape (line 25) | def ndarray_generate_data_variable_shape(shape, dtype, low=0, high=255): function str_generate_data_variable_shape (line 36) | def str_generate_data_variable_shape( function bytes_generate_data_variable_shape (line 44) | def bytes_generate_data_variable_shape( function add_data_to_column (line 88) | def add_data_to_column(col, data_gen, nsamples, nsubsamples=None): function num_samples_gen (line 105) | def num_samples_gen(request): function num_subsamples_gen (line 110) | def num_subsamples_gen(request): function column_permutation_repo (line 115) | def column_permutation_repo(repo, num_samples_gen, num_subsamples_gen): function column_permutations_read_write_checkout (line 172) | def column_permutations_read_write_checkout(request, column_permutation_... function column_permutations_write_checkout (line 180) | def column_permutations_write_checkout(column_permutation_repo): function test_cannot_create_column_within_cm (line 193) | def test_cannot_create_column_within_cm(repo, column_type, column_kwargs... function test_contains_subsamples_non_bool_value_fails (line 216) | def test_contains_subsamples_non_bool_value_fails(repo, column_type, col... function test_cannot_create_column_name_exists (line 239) | def test_cannot_create_column_name_exists(repo, column_type, column_kwar... function test_read_data_from_column_permutations (line 268) | def test_read_data_from_column_permutations(column_permutations_read_wri... function test_write_data_to_column_permutations (line 289) | def test_write_data_to_column_permutations( function test_merge_write_data_to_column_permutations (line 330) | def test_merge_write_data_to_column_permutations( FILE: tests/test_column_nested.py function assert_equal (line 11) | def assert_equal(arr, arr2): class TestArraysetSetup (line 19) | class TestArraysetSetup: method test_does_not_allow_invalid_arrayset_names (line 24) | def test_does_not_allow_invalid_arrayset_names(self, repo, randomsized... method test_read_only_mode_arrayset_methods_limited (line 30) | def test_read_only_mode_arrayset_methods_limited(self, aset_subsamples... method test_get_arrayset_in_read_and_write_checkouts (line 43) | def test_get_arrayset_in_read_and_write_checkouts(self, aset_subsample... method test_delete_arrayset (line 61) | def test_delete_arrayset(self, aset_backend, aset_subsamples_initializ... method test_init_same_arrayset_twice_fails_again (line 95) | def test_init_same_arrayset_twice_fails_again(self, aset_backend, repo... method test_arrayset_with_invalid_dimension_sizes_shapes (line 110) | def test_arrayset_with_invalid_dimension_sizes_shapes(self, aset_backe... function multi_item_generator (line 135) | def multi_item_generator(request): function iterable_subsamples (line 145) | def iterable_subsamples(request, multi_item_generator): function iterable_samples (line 186) | def iterable_samples(request, multi_item_generator, iterable_subsamples): function backend_params (line 209) | def backend_params(request): function subsample_writer_written_aset (line 214) | def subsample_writer_written_aset(backend_params, repo, monkeypatch): class TestAddData (line 231) | class TestAddData: method test_update_sample_subsamples_empty_arrayset (line 233) | def test_update_sample_subsamples_empty_arrayset(self, subsample_write... method test_update_sample_kwargs_only_empty_arrayset (line 241) | def test_update_sample_kwargs_only_empty_arrayset(self, subsample_writ... method test_update_sample_kwargs_and_other_dict_doesnt_modify_input_in_calling_scope (line 258) | def test_update_sample_kwargs_and_other_dict_doesnt_modify_input_in_ca... method test_update_sample_kwargs_and_iterably_empty_arrayset (line 280) | def test_update_sample_kwargs_and_iterably_empty_arrayset( method test_update_sample_subsamples_duplicate_data_does_not_save_new (line 291) | def test_update_sample_subsamples_duplicate_data_does_not_save_new( method test_update_sample_subsamples_context_manager (line 306) | def test_update_sample_subsamples_context_manager(self, subsample_writ... method test_setitem_sample_subsamples_empty_arrayset (line 319) | def test_setitem_sample_subsamples_empty_arrayset( method test_setitem_sample_subsamples_contextmanager (line 334) | def test_setitem_sample_subsamples_contextmanager( method test_update_subsamples_empty_arrayset (line 354) | def test_update_subsamples_empty_arrayset(self, multi_item_generator, ... method test_update_subsamples_via_kwargs_empty_arrayset (line 369) | def test_update_subsamples_via_kwargs_empty_arrayset(self, multi_item_... method test_update_subsamples_kwargs_and_other_dict_doesnt_modify_input_in_calling_scopy (line 382) | def test_update_subsamples_kwargs_and_other_dict_doesnt_modify_input_i... method test_update_subsamples_via_kwargs_and_iterable_empty_arrayset (line 408) | def test_update_subsamples_via_kwargs_and_iterable_empty_arrayset( method test_update_subsamples_context_manager (line 425) | def test_update_subsamples_context_manager( method test_setitem_sample_empty_arrayset (line 450) | def test_setitem_sample_empty_arrayset( method test_setitem_sample_setitem_subsample_empty_arrayset_fails (line 469) | def test_setitem_sample_setitem_subsample_empty_arrayset_fails(self, s... method test_setitem_subsamples_contextmanager (line 484) | def test_setitem_subsamples_contextmanager(self, multi_item_generator,... method test_append_subsamples_empty_arrayset (line 506) | def test_append_subsamples_empty_arrayset(self, multi_item_generator, ... method test_append_subsamples_contextmanager (line 519) | def test_append_subsamples_contextmanager(self, multi_item_generator, ... method test_update_noniterable_subsample_iter_fails (line 540) | def test_update_noniterable_subsample_iter_fails(self, backend, other,... method test_update_subsamples_with_too_many_arguments_fails (line 554) | def test_update_subsamples_with_too_many_arguments_fails(self, backend... method test_update_subsamples_with_too_few_arguments_fails (line 568) | def test_update_subsamples_with_too_few_arguments_fails(self, backend,... method test_update_noniterable_samples_fails (line 597) | def test_update_noniterable_samples_fails(self, other, subsample_write... method test_update_noniterable_subsamples_fails (line 613) | def test_update_noniterable_subsamples_fails(self, other, subsample_wr... method test_update_invalid_sample_key_fails (line 629) | def test_update_invalid_sample_key_fails(self, other, subsample_writer... method test_update_sample_invalid_subsample_key_fails (line 645) | def test_update_sample_invalid_subsample_key_fails(self, other, subsam... method test_update_sample_invalid_array_fails_fixed_shape (line 662) | def test_update_sample_invalid_array_fails_fixed_shape(self, backend, ... method test_update_subsample_invalid_subsample_key_fails (line 682) | def test_update_subsample_invalid_subsample_key_fails(self, other, sub... method test_update_subsample_invalid_array_fails_fixed_shape (line 701) | def test_update_subsample_invalid_array_fails_fixed_shape(self, backen... function subsample_data_map (line 719) | def subsample_data_map(): function backend_param (line 736) | def backend_param(request): function write_enabled (line 741) | def write_enabled(request): function initialized_arrayset (line 746) | def initialized_arrayset(write_enabled, backend_param, classrepo, subsam... function initialized_arrayset_write_only (line 765) | def initialized_arrayset_write_only(backend_param, repo, subsample_data_... class TestRemoveData (line 774) | class TestRemoveData: method test_delitem_single_sample_from_arrayset (line 778) | def test_delitem_single_sample_from_arrayset(self, initialized_arrayse... method test_delitem_single_subsample_from_sample (line 784) | def test_delitem_single_subsample_from_sample(self, initialized_arrays... method test_delitem_sample_nonexisting_keys_fails (line 790) | def test_delitem_sample_nonexisting_keys_fails(self, initialized_array... method test_delitem_single_subsample_nonexisting_key_fails (line 797) | def test_delitem_single_subsample_nonexisting_key_fails(self, initiali... method test_delitem_multiple_samples_fails_keyerror (line 806) | def test_delitem_multiple_samples_fails_keyerror(self, initialized_arr... method test_pop_single_sample_from_arrayset (line 815) | def test_pop_single_sample_from_arrayset(self, initialized_arrayset_wr... method test_pop_multiple_samples_from_arrayset_fails (line 824) | def test_pop_multiple_samples_from_arrayset_fails(self, initialized_ar... method test_pop_single_subsample_from_sample (line 831) | def test_pop_single_subsample_from_sample(self, initialized_arrayset_w... method test_pop_multiple_subsample_from_sample_fails (line 838) | def test_pop_multiple_subsample_from_sample_fails(self, initialized_ar... class TestContainerIntrospection (line 849) | class TestContainerIntrospection: method test_get_sample_returns_object (line 851) | def test_get_sample_returns_object(self, initialized_arrayset, subsamp... method test_get_sample_test_subsample_len_method (line 862) | def test_get_sample_test_subsample_len_method(self, initialized_arrays... method test_get_sample_test_subsample_contains_method (line 868) | def test_get_sample_test_subsample_contains_method(self, initialized_a... method test_sample_len_reported_correctly (line 875) | def test_sample_len_reported_correctly(self, initialized_arrayset, sub... method test_get_sample_test_subsample_sample_property (line 882) | def test_get_sample_test_subsample_sample_property(self, initialized_a... method test_get_sample_test_subsample_arrayset_property (line 888) | def test_get_sample_test_subsample_arrayset_property(self, initialized... method test_get_sample_test_data_property (line 894) | def test_get_sample_test_data_property(self, initialized_arrayset, sub... method test_get_sample_test_subsample_contains_remote_references_property (line 904) | def test_get_sample_test_subsample_contains_remote_references_property( method test_get_sample_test_subsample_remote_reference_keys_property (line 929) | def test_get_sample_test_subsample_remote_reference_keys_property(self... method test_getattr_does_not_raise_permission_error_if_alive (line 952) | def test_getattr_does_not_raise_permission_error_if_alive(self, initia... class TestGetDataMethods (line 988) | class TestGetDataMethods: method test_get_sample_missing_key (line 990) | def test_get_sample_missing_key(self, initialized_arrayset): method test_getitem_sample_missing_key (line 997) | def test_getitem_sample_missing_key(self, initialized_arrayset): method test_get_sample_get_subsample (line 1002) | def test_get_sample_get_subsample(self, initialized_arrayset, subsampl... method test_getitem_sample_getitem_subsample (line 1010) | def test_getitem_sample_getitem_subsample(self, initialized_arrayset, ... method test_getitem_subsample_from_column (line 1021) | def test_getitem_subsample_from_column(self, initialized_arrayset, sub... method test_recursive_subsample_getitem_from_column (line 1034) | def test_recursive_subsample_getitem_from_column(self, initialized_arr... method test_get_subsample_from_column (line 1041) | def test_get_subsample_from_column(self, initialized_arrayset, subsamp... method test_get_sample_get_subsample_missing_key (line 1054) | def test_get_sample_get_subsample_missing_key(self, initialized_arrays... method test_getitem_sample_getitem_subsample_missing_key (line 1071) | def test_getitem_sample_getitem_subsample_missing_key(self, initialize... method test_get_sample_get_multiple_subsamples_fails (line 1078) | def test_get_sample_get_multiple_subsamples_fails(self, initialized_ar... method test_get_sample_getitem_single_subsample (line 1085) | def test_get_sample_getitem_single_subsample(self, initialized_arrayse... method test_get_sample_getitem_single_subsample_missing_key (line 1093) | def test_get_sample_getitem_single_subsample_missing_key(self, initial... method test_get_sample_getitem_multiple_subsamples_fails (line 1102) | def test_get_sample_getitem_multiple_subsamples_fails(self, initialize... method test_get_sample_getitem_subsamples_with_ellipsis (line 1109) | def test_get_sample_getitem_subsamples_with_ellipsis(self, initialized... method test_get_sample_getitem_subsamples_with_keys_and_ellipsis_fails (line 1119) | def test_get_sample_getitem_subsamples_with_keys_and_ellipsis_fails(se... method test_get_sample_getitem_subsamples_with_unbound_slice (line 1129) | def test_get_sample_getitem_subsamples_with_unbound_slice(self, initia... method test_get_sample_getitem_subsamples_with_bounded_slice (line 1140) | def test_get_sample_getitem_subsamples_with_bounded_slice(self, initia... method test_subsample_getitem_with_bounded_slice_from_column (line 1150) | def test_subsample_getitem_with_bounded_slice_from_column(self, initia... method test_get_sample_getitem_subsamples_with_out_of_bounds_slice_does_not_fail (line 1159) | def test_get_sample_getitem_subsamples_with_out_of_bounds_slice_does_n... method test_aset_contextmanager (line 1176) | def test_aset_contextmanager(self, initialized_arrayset, subsample_dat... method test_sample_contextmanager (line 1190) | def test_sample_contextmanager(self, initialized_arrayset, subsample_d... method test_sample_subsample_contextmanager (line 1205) | def test_sample_subsample_contextmanager(self, initialized_arrayset, s... method test_sample_reentrant_contextmanager_fails (line 1231) | def test_sample_reentrant_contextmanager_fails(self, initialized_array... method test_calling_iter_on_arrayset (line 1270) | def test_calling_iter_on_arrayset(self, initialized_arrayset, subsampl... method test_calling_iter_on_sample_in_arrayset (line 1277) | def test_calling_iter_on_sample_in_arrayset(self, initialized_arrayset... method test_get_sample_keys_method (line 1289) | def test_get_sample_keys_method(self, initialized_arrayset): method test_get_sample_keys_method_local_only (line 1298) | def test_get_sample_keys_method_local_only(self, initialized_arrayset): method test_get_sample_subsample_keys_method (line 1315) | def test_get_sample_subsample_keys_method(self, initialized_arrayset, ... method test_get_sample_subsample_keys_method_local_only (line 1326) | def test_get_sample_subsample_keys_method_local_only(self, initialized... method test_get_sample_values_method (line 1359) | def test_get_sample_values_method(self, initialized_arrayset): method test_get_sample_values_method_local_only (line 1371) | def test_get_sample_values_method_local_only(self, initialized_arrayset): method test_get_sample_subsample_values_method (line 1390) | def test_get_sample_subsample_values_method(self, initialized_arrayset... method test_get_sample_subsample_values_method_local_only (line 1401) | def test_get_sample_subsample_values_method_local_only(self, initializ... method test_get_sample_items_method (line 1434) | def test_get_sample_items_method(self, initialized_arrayset): method test_get_sample_items_method_local_only (line 1447) | def test_get_sample_items_method_local_only(self, initialized_arrayset): method test_get_sample_subsample_items_method (line 1467) | def test_get_sample_subsample_items_method(self, initialized_arrayset,... method test_get_sample_subsample_items_method_local_only (line 1478) | def test_get_sample_subsample_items_method_local_only(self, initialize... method test_arrayset_remote_references_property_with_none (line 1514) | def test_arrayset_remote_references_property_with_none( method test_arrayset_remote_references_property_with_remotes (line 1536) | def test_arrayset_remote_references_property_with_remotes( class TestWriteThenReadCheckout (line 1568) | class TestWriteThenReadCheckout: method test_add_data_commit_checkout_read_only_contains_same (line 1571) | def test_add_data_commit_checkout_read_only_contains_same(self, backen... FILE: tests/test_column_pickle.py function assert_equal (line 6) | def assert_equal(arr, arr2): function subsample_data_map (line 13) | def subsample_data_map(): function sample_data_map (line 30) | def sample_data_map(): function backend_param (line 43) | def backend_param(request): function write_enabled (line 48) | def write_enabled(request): function contains_subsamples (line 53) | def contains_subsamples(request): function initialized_column (line 58) | def initialized_column( function initialized_column_read_only (line 82) | def initialized_column_read_only(backend_param, contains_subsamples, cla... class TestPickleableColumns (line 99) | class TestPickleableColumns: method test_is_pickleable (line 101) | def test_is_pickleable(self, initialized_column, sample_data_map, subs... class TestLoadableColumns (line 113) | class TestLoadableColumns: method test_is_pickle_is_loadable (line 115) | def test_is_pickle_is_loadable(self, initialized_column_read_only, sam... FILE: tests/test_commit_ref_verification.py function test_verify_corruption_in_commit_ref_alerts (line 4) | def test_verify_corruption_in_commit_ref_alerts(two_commit_filled_sample... function test_verify_corruption_in_commit_parent_val_alerts (line 35) | def test_verify_corruption_in_commit_parent_val_alerts(two_commit_filled... function test_verify_corruption_in_spec_val_alerts (line 65) | def test_verify_corruption_in_spec_val_alerts(two_commit_filled_samples_... FILE: tests/test_context_management.py function test_nested_context_manager_does_not_close_all_open (line 11) | def test_nested_context_manager_does_not_close_all_open(repo, backend1, ... FILE: tests/test_diff.py class TestReaderWriterDiff (line 5) | class TestReaderWriterDiff(object): method test_diff_by_commit_and_branch (line 8) | def test_diff_by_commit_and_branch(self, repo_2_br_no_conf, writer): method test_diff_with_wrong_commit_hash (line 19) | def test_diff_with_wrong_commit_hash(self, repo_2_br_no_conf, writer): method test_diff_with_wrong_branch_name (line 30) | def test_diff_with_wrong_branch_name(self, repo_1_br_no_conf, writer): method test_comparing_diffs_of_dev_and_master (line 38) | def test_comparing_diffs_of_dev_and_master(self, repo_1_br_no_conf, wr... method test_diff_data_samples (line 64) | def test_diff_data_samples(self, repo_1_br_no_conf, writer): method test_sample_addition_conflict (line 98) | def test_sample_addition_conflict(self, repo_1_br_no_conf, writer): method test_sample_removal_conflict (line 126) | def test_sample_removal_conflict(self, repo_1_br_no_conf, writer): method test_sample_mutation_conflict (line 154) | def test_sample_mutation_conflict(self, repo_1_br_no_conf, writer): method test_aset_addition_conflict (line 178) | def test_aset_addition_conflict(self, aset_samples_initialized_repo, w... method test_aset_removal_conflict (line 201) | def test_aset_removal_conflict(self, aset_samples_initialized_repo, wr... method test_aset_mutation_conflict (line 234) | def test_aset_mutation_conflict(self, aset_samples_initialized_repo, w... method test_commits_inside_cm (line 263) | def test_commits_inside_cm(self, aset_samples_initialized_repo, array5... class TestWriterDiff (line 289) | class TestWriterDiff(object): method test_status_and_staged_column (line 291) | def test_status_and_staged_column(self, aset_samples_initialized_repo): method test_status_and_staged_samples (line 301) | def test_status_and_staged_samples(self, aset_samples_initialized_repo): method test_status_and_staged_aset (line 322) | def test_status_and_staged_aset(self, aset_samples_initialized_repo): function test_repo_diff_method_branch_names (line 334) | def test_repo_diff_method_branch_names(aset_samples_initialized_repo): function test_repo_diff_method_commit_digests (line 363) | def test_repo_diff_method_commit_digests(aset_samples_initialized_repo): function test_repo_diff_method_one_branch_one_commit_digest (line 394) | def test_repo_diff_method_one_branch_one_commit_digest(aset_samples_init... FILE: tests/test_diff_staged_summary.py function test_add_samples_to_existing_column (line 5) | def test_add_samples_to_existing_column(repo_20_filled_samples2): function test_mutate_sample_values (line 44) | def test_mutate_sample_values(repo_20_filled_samples2): function test_delete_samples (line 83) | def test_delete_samples(repo_20_filled_samples2): function test_add_new_column_schema_and_samples (line 120) | def test_add_new_column_schema_and_samples(repo_20_filled_samples2): function test_add_new_column_schema_and_sample_and_delete_old_column (line 172) | def test_add_new_column_schema_and_sample_and_delete_old_column(repo_20_... function test_add_new_schema_and_samples_and_change_old_backend (line 237) | def test_add_new_schema_and_samples_and_change_old_backend(repo_20_fille... FILE: tests/test_initiate.py function test_imports (line 6) | def test_imports(): function test_starting_up_repo_warns_should_exist_no_args (line 11) | def test_starting_up_repo_warns_should_exist_no_args(managed_tmpdir): function test_starting_up_repo_warns_should_exist_manual_args (line 24) | def test_starting_up_repo_warns_should_exist_manual_args(managed_tmpdir): function test_starting_up_repo_does_not_warn_not_exist_manual_args (line 37) | def test_starting_up_repo_does_not_warn_not_exist_manual_args(managed_tm... function test_initial_read_checkout (line 52) | def test_initial_read_checkout(managed_tmpdir): function test_initial_arrayset (line 60) | def test_initial_arrayset(managed_tmpdir, randomsizedarray): function test_empty_commit (line 74) | def test_empty_commit(managed_tmpdir, caplog): function test_cannot_operate_without_repo_init (line 84) | def test_cannot_operate_without_repo_init(managed_tmpdir): function test_check_repo_size (line 137) | def test_check_repo_size(repo_20_filled_samples): function test_force_release_writer_lock (line 149) | def test_force_release_writer_lock(managed_tmpdir, monkeypatch): function test_force_release_writer_lock_works (line 172) | def test_force_release_writer_lock_works(managed_tmpdir): function test_repo_summary_does_not_error_before_any_commit_made (line 187) | def test_repo_summary_does_not_error_before_any_commit_made(capfd, manag... function test_get_ecosystem_details (line 197) | def test_get_ecosystem_details(managed_tmpdir): function test_inject_repo_version (line 209) | def test_inject_repo_version(monkeypatch): function test_check_repository_version (line 215) | def test_check_repository_version(aset_samples_initialized_repo): function test_check_repository_software_version_startup (line 223) | def test_check_repository_software_version_startup(managed_tmpdir): function test_check_repository_software_version_fails_hangar_version (line 254) | def test_check_repository_software_version_fails_hangar_version(monkeypa... function test_check_repository_software_version_works_on_newer_hangar_version (line 277) | def test_check_repository_software_version_works_on_newer_hangar_version... FILE: tests/test_merging.py function test_merge_fails_with_invalid_branch_name (line 5) | def test_merge_fails_with_invalid_branch_name(repo_1_br_no_conf): function test_is_ff_merge (line 13) | def test_is_ff_merge(repo_1_br_no_conf): function test_writer_checkout_ff_merge (line 19) | def test_writer_checkout_ff_merge(repo_1_br_no_conf): function test_merge_fails_if_changes_staged (line 34) | def test_merge_fails_if_changes_staged(repo_1_br_no_conf): function test_writer_checkout_merge_fails_if_changes_staged (line 43) | def test_writer_checkout_merge_fails_if_changes_staged(repo_1_br_no_conf): function test_ff_merge_no_conf_correct_contents_for_name_or_hash_checkout (line 52) | def test_ff_merge_no_conf_correct_contents_for_name_or_hash_checkout(rep... function test_ff_merge_no_conf_updates_head_commit_of_branches (line 69) | def test_ff_merge_no_conf_updates_head_commit_of_branches(repo_1_br_no_c... function test_is_3_way_merge (line 87) | def test_is_3_way_merge(repo_2_br_no_conf): function test_writer_checkout_is_3_way_merge (line 95) | def test_writer_checkout_is_3_way_merge(repo_2_br_no_conf): function test_3_way_merge_no_conflict_correct_contents (line 105) | def test_3_way_merge_no_conflict_correct_contents(repo_2_br_no_conf): function test_writer_checkout_3_way_merge_no_conflict_correct_contents (line 130) | def test_writer_checkout_3_way_merge_no_conflict_correct_contents(repo_2... function test_3_way_merge_no_conflict_and_mutation_correct_contents (line 156) | def test_3_way_merge_no_conflict_and_mutation_correct_contents(repo_2_br... function test_3_way_merge_updates_head_commit_of_branches (line 197) | def test_3_way_merge_updates_head_commit_of_branches(repo_2_br_no_conf): function test_writer_checkout_3_way_merge_updates_head_commit_of_branches (line 211) | def test_writer_checkout_3_way_merge_updates_head_commit_of_branches(rep... class TestArraysetSampleConflicts (line 227) | class TestArraysetSampleConflicts(object): method test_conflict_additions_same_str_name_different_value (line 229) | def test_conflict_additions_same_str_name_different_value(self, repo_2... method test_conflict_additions_same_int_name_different_value (line 242) | def test_conflict_additions_same_int_name_different_value(self, repo_2... method test_conflict_additions_same_str_and_int_name_different_value (line 255) | def test_conflict_additions_same_str_and_int_name_different_value(self... method test_no_conflict_additions_same_name_and_value (line 269) | def test_no_conflict_additions_same_name_and_value(self, repo_2_br_no_... method test_conflict_mutations_same_name_different_value (line 287) | def test_conflict_mutations_same_name_different_value(self, repo_2_br_... method test_conflict_mutation_and_removal (line 304) | def test_conflict_mutation_and_removal(self, repo_2_br_no_conf): method test_no_conflict_both_removal (line 320) | def test_no_conflict_both_removal(self, repo_2_br_no_conf): FILE: tests/test_optimized_utils.py function test_sizeddict_maxsize_property (line 6) | def test_sizeddict_maxsize_property(): function test_sizeddict_setitem_no_overflow_retains_keys_and_len (line 13) | def test_sizeddict_setitem_no_overflow_retains_keys_and_len(): function test_sizeddict_setitem_overflow_truncates_keys_and_len (line 24) | def test_sizeddict_setitem_overflow_truncates_keys_and_len(): function test_sizeddict_update_no_overflow_retains_keys_and_len (line 39) | def test_sizeddict_update_no_overflow_retains_keys_and_len(): function test_sizeddict_updateoverflow_truncates_keys_and_len (line 50) | def test_sizeddict_updateoverflow_truncates_keys_and_len(): function test_sizeddict_get_returns_default_on_missing_key (line 65) | def test_sizeddict_get_returns_default_on_missing_key(): function test_sizeddict_delitem (line 73) | def test_sizeddict_delitem(): function test_sizeddict_pop (line 87) | def test_sizeddict_pop(): function test_sizeddict_popitem (line 100) | def test_sizeddict_popitem(): function test_sizeddict_keys (line 119) | def test_sizeddict_keys(): function test_sizeddict_values (line 129) | def test_sizeddict_values(): function test_sizeddict_keys (line 139) | def test_sizeddict_keys(): function test_sizeddict_setdefault (line 149) | def test_sizeddict_setdefault(): function test_sizeddict_clear (line 173) | def test_sizeddict_clear(): function test_sizeddict_repr (line 187) | def test_sizeddict_repr(): function test_sizeddict_is_pickleable (line 197) | def test_sizeddict_is_pickleable(): FILE: tests/test_remote_serialize.py function assert_array_equal (line 12) | def assert_array_equal(arr, arr2): function arr_shape (line 18) | def arr_shape(request): function arr_dtype (line 22) | def arr_dtype(request): function ident_digest (line 26) | def ident_digest(request): function ident_schema (line 30) | def ident_schema(request): function array_testcase (line 35) | def array_testcase(arr_shape, arr_dtype): function str_testcase (line 45) | def str_testcase(request): function bytes_testcase (line 53) | def bytes_testcase(request): function ident_testcase (line 58) | def ident_testcase(ident_digest, ident_schema): function test_serialize_deserialize_array (line 62) | def test_serialize_deserialize_array(array_testcase): function test_serialize_deserialize_str (line 71) | def test_serialize_deserialize_str(str_testcase): function test_serialize_deserialize_bytes (line 78) | def test_serialize_deserialize_bytes(bytes_testcase): function test_serialize_deserialize_data (line 90) | def test_serialize_deserialize_data(expected_dtype_code, data): function test_serialize_deserialize_ident (line 104) | def test_serialize_deserialize_ident(ident_testcase): function test_serialize_deserialize_record (line 117) | def test_serialize_deserialize_record(array_testcase, ident_testcase): function test_serialize_deserialize_record_pack (line 132) | def test_serialize_deserialize_record_pack(ident_testcase, nrecords): function test_serialize_deserialize_ident_digest_field_only (line 166) | def test_serialize_deserialize_ident_digest_field_only(ident_testcase): function test_serialize_deserialize_ident_schema_field_only (line 179) | def test_serialize_deserialize_ident_schema_field_only(ident_testcase): function test_serialize_deserialize_ident_only_record_pack (line 193) | def test_serialize_deserialize_ident_only_record_pack(ident_testcase, nr... function test_serialize_deserialize_ident_only_digest_only_record_pack (line 223) | def test_serialize_deserialize_ident_only_digest_only_record_pack(ident_... function test_serialize_deserialize_ident_only_schema_only_record_pack (line 253) | def test_serialize_deserialize_ident_only_schema_only_record_pack(ident_... FILE: tests/test_remotes.py function test_cannot_add_invalid_remote_names (line 15) | def test_cannot_add_invalid_remote_names(repo, name): function test_list_all_remotes_works (line 20) | def test_list_all_remotes_works(repo): function test_cannot_add_remote_twice_with_same_name (line 46) | def test_cannot_add_remote_twice_with_same_name(repo): function test_remote_remote_which_does_not_exist_fails (line 54) | def test_remote_remote_which_does_not_exist_fails(repo): function test_can_update_remote_after_removal (line 59) | def test_can_update_remote_after_removal(repo): function test_server_is_started_multiple_times_via_ping_pong (line 71) | def test_server_is_started_multiple_times_via_ping_pong(server_instance, function test_push_and_clone_master_linear_history_multiple_commits (line 80) | def test_push_and_clone_master_linear_history_multiple_commits( function test_server_push_second_branch_with_new_commit (line 136) | def test_server_push_second_branch_with_new_commit(server_instance, repo, function test_server_push_second_branch_with_new_commit_then_clone_partial_fetch (line 184) | def test_server_push_second_branch_with_new_commit_then_clone_partial_fe... function array5by7_class (line 288) | def array5by7_class(): function two_branch_multi_commit_repo_class (line 292) | def two_branch_multi_commit_repo_class(server_instance_class, classrepo,... class TestLargeRemoteServer (line 392) | class TestLargeRemoteServer: method test_server_push_two_branch_then_clone_fetch_data_options (line 401) | def test_server_push_two_branch_then_clone_fetch_data_options( function two_multi_format_repo_class (line 489) | def two_multi_format_repo_class(server_instance_class, classrepo): class TestRemoteServerFetchDataSample (line 527) | class TestRemoteServerFetchDataSample: method test_server_fetch_data_sample (line 563) | def test_server_fetch_data_sample( method test_server_fetch_data_sample_commit_not_existing (line 613) | def test_server_fetch_data_sample_commit_not_existing( method test_server_fetch_data_sample_branch_not_existing (line 635) | def test_server_fetch_data_sample_branch_not_existing( method test_server_fetch_data_sample_branch_and_commit_args_passed_fails (line 657) | def test_server_fetch_data_sample_branch_and_commit_args_passed_fails( method test_server_fetch_data_sample_not_existing_fails (line 680) | def test_server_fetch_data_sample_not_existing_fails( method test_server_fetch_data_sample_not_valid_type (line 716) | def test_server_fetch_data_sample_not_valid_type( function test_push_unchanged_repo_makes_no_modifications (line 746) | def test_push_unchanged_repo_makes_no_modifications(written_two_cmt_serv... function test_fetch_unchanged_repo_makes_no_modifications (line 753) | def test_fetch_unchanged_repo_makes_no_modifications(written_two_cmt_ser... function test_fetch_newer_disk_repo_makes_no_modifications (line 760) | def test_fetch_newer_disk_repo_makes_no_modifications(written_two_cmt_se... function test_fetch_branch_which_does_not_exist_client_server_raises_rpc_error (line 772) | def test_fetch_branch_which_does_not_exist_client_server_raises_rpc_erro... function test_fetch_branch_on_client_which_does_not_existserver_raises_rpc_error (line 780) | def test_fetch_branch_on_client_which_does_not_existserver_raises_rpc_er... function test_push_clone_three_way_merge (line 789) | def test_push_clone_three_way_merge(server_instance, repo_2_br_no_conf, ... function test_push_restricted_with_right_username_password (line 824) | def test_push_restricted_with_right_username_password(server_instance_pu... function test_push_restricted_wrong_user_and_password (line 871) | def test_push_restricted_wrong_user_and_password(server_instance_push_re... FILE: tests/test_repo_integrity_verification.py function diverse_repo (line 7) | def diverse_repo(repo): function test_verify_correct (line 79) | def test_verify_correct(diverse_repo): class TestVerifyCommitRefDigests (line 83) | class TestVerifyCommitRefDigests(object): method test_remove_array_digest_is_caught (line 85) | def test_remove_array_digest_is_caught(self, diverse_repo): method test_remove_schema_digest_is_caught (line 104) | def test_remove_schema_digest_is_caught(self, diverse_repo): class TestVerifyCommitTree (line 123) | class TestVerifyCommitTree(object): method test_parent_ref_digest_of_cmt_does_not_exist (line 125) | def test_parent_ref_digest_of_cmt_does_not_exist(self, diverse_repo): method test_parent_ref_references_nonexisting_commits (line 144) | def test_parent_ref_references_nonexisting_commits(self, diverse_repo): method test_parent_ref_has_two_initial_commits (line 181) | def test_parent_ref_has_two_initial_commits(self, diverse_repo): class TestBranchIntegrity (line 206) | class TestBranchIntegrity(object): method test_atleast_one_branch_exists (line 208) | def test_atleast_one_branch_exists(self, diverse_repo): method test_branch_name_head_commit_digests_exist (line 225) | def test_branch_name_head_commit_digests_exist(self, diverse_repo): method test_staging_head_branch_name_exists (line 256) | def test_staging_head_branch_name_exists(self, diverse_repo): function test_data_digest_modification_is_caught (line 273) | def test_data_digest_modification_is_caught(diverse_repo): function test_data_digest_remote_location_warns (line 294) | def test_data_digest_remote_location_warns(diverse_repo): function test_schema_digest_modification_is_caught (line 308) | def test_schema_digest_modification_is_caught(diverse_repo): FILE: tests/test_utils.py function test_unique_everseen (line 10) | def test_unique_everseen(arg, key, expected): function test_valid_directory_path_errors_on_invalid_path_arg (line 18) | def test_valid_directory_path_errors_on_invalid_path_arg(pth): function test_valid_directory_path_recognizes_not_a_directory (line 24) | def test_valid_directory_path_recognizes_not_a_directory(managed_tmpdir): function test_format_bytes (line 43) | def test_format_bytes(arg, expected): function test_parse_bytes (line 61) | def test_parse_bytes(arg, expected): function test_find_next_prime (line 79) | def test_find_next_prime(arg, expected): FILE: tests/test_version.py function test_infinity_repr (line 31) | def test_infinity_repr(): function test_negative_infinity_repr (line 35) | def test_negative_infinity_repr(): function test_infinity_hash (line 39) | def test_infinity_hash(): function test_negative_infinity_hash (line 43) | def test_negative_infinity_hash(): function test_infinity_comparison (line 48) | def test_infinity_comparison(left): function test_negative_infinity_lesser (line 58) | def test_negative_infinity_lesser(left): function test_infinty_equal (line 67) | def test_infinty_equal(): function test_negative_infinity_equal (line 71) | def test_negative_infinity_equal(): function test_negate_infinity (line 75) | def test_negate_infinity(): function test_negate_negative_infinity (line 79) | def test_negate_negative_infinity(): function test_parse (line 89) | def test_parse(version, klass): function test_legacy_version_raises (line 93) | def test_legacy_version_raises(): class TestVersion (line 133) | class TestVersion: method test_valid_versions (line 135) | def test_valid_versions(self, version): method test_invalid_versions (line 151) | def test_invalid_versions(self, version): method test_normalized_versions (line 273) | def test_normalized_versions(self, version, normalized): method test_version_str_repr (line 328) | def test_version_str_repr(self, version, expected): method test_version_rc_and_c_equals (line 332) | def test_version_rc_and_c_equals(self): method test_version_hash (line 336) | def test_version_hash(self, version): method test_version_public (line 373) | def test_version_public(self, version, public): method test_version_base_version (line 410) | def test_version_base_version(self, version, base_version): method test_version_epoch (line 447) | def test_version_epoch(self, version, epoch): method test_version_release (line 484) | def test_version_release(self, version, release): method test_version_local (line 521) | def test_version_local(self, version, local): method test_version_pre (line 558) | def test_version_pre(self, version, pre): method test_version_is_prerelease (line 588) | def test_version_is_prerelease(self, version, expected): method test_version_dev (line 625) | def test_version_dev(self, version, dev): method test_version_is_devrelease (line 662) | def test_version_is_devrelease(self, version, expected): method test_version_post (line 699) | def test_version_post(self, version, post): method test_version_is_postrelease (line 712) | def test_version_is_postrelease(self, version, expected): method test_comparison_true (line 755) | def test_comparison_true(self, left, right, op): method test_comparison_false (line 798) | def test_comparison_false(self, left, right, op): method test_compare_other (line 802) | def test_compare_other(self, monkeypatch, op, expected): method test_major_version (line 807) | def test_major_version(self): method test_minor_version (line 810) | def test_minor_version(self): method test_micro_version (line 814) | def test_micro_version(self): FILE: tests/test_visualizations.py function verify_out (line 5) | def verify_out(capfd, expected): function test_flat_merge_graph (line 11) | def test_flat_merge_graph(capfd): function test_three_way_merge_graph (line 55) | def test_three_way_merge_graph(capfd): function test_octopus_merge_graph (line 115) | def test_octopus_merge_graph(capfd): function test_octopus_large_merge_graph (line 222) | def test_octopus_large_merge_graph(capfd): function test_repo_log_return_contents_correct_default_args (line 366) | def test_repo_log_return_contents_correct_default_args(repo): function test_repo_log_return_contents_correct_when_specify_branch_name (line 407) | def test_repo_log_return_contents_correct_when_specify_branch_name(repo): function test_repo_log_return_contents_correct_when_specify_digest (line 448) | def test_repo_log_return_contents_correct_when_specify_digest(repo): FILE: tests/typesystem/test_ndarray_typesysem.py class TestInvalidValues (line 8) | class TestInvalidValues: method test_shape_not_tuple_of_int_less_than_32_dims (line 16) | def test_shape_not_tuple_of_int_less_than_32_dims(self, shape, expecte... method test_column_type_must_be_ndarray (line 24) | def test_column_type_must_be_ndarray(self, coltype): method test_column_layout_must_be_valid_value (line 32) | def test_column_layout_must_be_valid_value(self, collayout): method test_fixed_shape_backend_code_valid_value (line 40) | def test_fixed_shape_backend_code_valid_value(self, backend): method test_variable_shape_backend_code_valid_value (line 46) | def test_variable_shape_backend_code_valid_value(self, backend): method test_backend_options_must_be_dict_or_nonetype (line 52) | def test_backend_options_must_be_dict_or_nonetype(self, opts): method test_backend_must_be_specified_if_backend_options_provided (line 58) | def test_backend_must_be_specified_if_backend_options_provided(self): method test_variable_shape_must_have_variable_shape_schema_type (line 66) | def test_variable_shape_must_have_variable_shape_schema_type(self, sch... method test_fixed_shape_must_have_fixed_shape_schema_type (line 72) | def test_fixed_shape_must_have_fixed_shape_schema_type(self, schema_ty... FILE: tests/typesystem/test_pybytes_typesystem.py class TestInvalidValues (line 7) | class TestInvalidValues: method test_column_type_must_be_str (line 10) | def test_column_type_must_be_str(self, coltype): method test_column_layout_must_be_valid_value (line 15) | def test_column_layout_must_be_valid_value(self, collayout): method test_variable_shape_backend_code_valid_value (line 20) | def test_variable_shape_backend_code_valid_value(self, backend): method test_backend_options_must_be_dict_or_nonetype (line 25) | def test_backend_options_must_be_dict_or_nonetype(self, opts): method test_backend_must_be_specified_if_backend_options_provided (line 29) | def test_backend_must_be_specified_if_backend_options_provided(self): method test_variable_shape_must_have_variable_shape_schema_type (line 34) | def test_variable_shape_must_have_variable_shape_schema_type(self, sch... function column_layout (line 43) | def column_layout(request): function backend (line 48) | def backend(request): function backend_options (line 53) | def backend_options(request): function valid_schema (line 58) | def valid_schema(column_layout, backend, backend_options): class TestValidSchema (line 64) | class TestValidSchema: method test_valid_data (line 72) | def test_valid_data(self, valid_schema, data): method test_data_over_2MB_size_not_allowed (line 77) | def test_data_over_2MB_size_not_allowed(self, valid_schema): FILE: tests/typesystem/test_pystr_typesystem.py class TestInvalidValues (line 9) | class TestInvalidValues: method test_column_type_must_be_str (line 12) | def test_column_type_must_be_str(self, coltype): method test_column_layout_must_be_valid_value (line 17) | def test_column_layout_must_be_valid_value(self, collayout): method test_variable_shape_backend_code_valid_value (line 22) | def test_variable_shape_backend_code_valid_value(self, backend): method test_backend_options_must_be_dict_or_nonetype (line 27) | def test_backend_options_must_be_dict_or_nonetype(self, opts): method test_backend_must_be_specified_if_backend_options_provided (line 31) | def test_backend_must_be_specified_if_backend_options_provided(self): method test_variable_shape_must_have_variable_shape_schema_type (line 36) | def test_variable_shape_must_have_variable_shape_schema_type(self, sch... function column_layout (line 45) | def column_layout(request): function backend (line 50) | def backend(request): function backend_options (line 55) | def backend_options(request): function valid_schema (line 60) | def valid_schema(column_layout, backend, backend_options): class TestValidSchema (line 66) | class TestValidSchema: method test_valid_data (line 72) | def test_valid_data(self, valid_schema, data): method test_large_unicode_codepoints_strings_compatible (line 78) | def test_large_unicode_codepoints_strings_compatible(self, valid_schem... method test_strings_over_2MB_size_not_allowed (line 83) | def test_strings_over_2MB_size_not_allowed(self, valid_schema):