linkml_arrays.loaders package

Submodules

linkml_arrays.loaders.hdf5_loader module

Class for loading a LinkML model from an HDF5 file.

class linkml_arrays.loaders.hdf5_loader.Hdf5Loader

Bases: Loader

Class for loading a LinkML model from an HDF5 file.

load(source: str, target_class: Type[Union[BaseModel, YAMLRoot]], schemaview: SchemaView, **kwargs)

Create an instance of the target class from an HDF5 file.

load_any(source: str, **kwargs)

Create an instance of the target class from an HDF5 file.

loads(source: str, **kwargs)

Create an instance of the target class from an HDF5 file.

linkml_arrays.loaders.yaml_hdf5_loader module

Class for loading a LinkML model from a YAML file with HDF5 file paths.

class linkml_arrays.loaders.yaml_hdf5_loader.YamlHdf5Loader

Bases: Loader

Class for loading a LinkML model from a YAML file with HDF5 file paths.

load(source: str, target_class: Type[Union[BaseModel, YAMLRoot]], schemaview: SchemaView, **kwargs)

Create an instance of the target class from a YAML file with HDF5 file paths.

load_any(source: str, **kwargs)

Create an instance of the target class from a YAML file with HDF5 file paths.

loads(source: str, **kwargs)

Create an instance of the target class from a YAML file with HDF5 file paths.

linkml_arrays.loaders.yaml_loader module

Class for loading a LinkML model from a YAML file.

class linkml_arrays.loaders.yaml_loader.YamlLoader

Bases: Loader

Class for loading a LinkML model from a YAML file.

load(source: str, target_class: Type[Union[BaseModel, YAMLRoot]], schemaview: SchemaView, **kwargs)

Create an instance of the target class from a YAML file.

load_any(source: str, **kwargs)

Create an instance of the target class from a YAML file.

loads(source: str, **kwargs)

Create an instance of the target class from a YAML file.

linkml_arrays.loaders.yaml_numpy_loader module

Class for loading a LinkML model from a YAML file with NumPy file paths.

class linkml_arrays.loaders.yaml_numpy_loader.YamlNumpyLoader

Bases: Loader

Class for loading a LinkML model from a YAML file with NumPy file paths.

load(source: str, target_class: Type[Union[BaseModel, YAMLRoot]], schemaview: SchemaView, **kwargs)

Create an instance of the target class from a YAML file with NumPy file paths.

load_any(source: str, **kwargs)

Create an instance of the target class from a YAML file with NumPy file paths.

loads(source: str, **kwargs)

Create an instance of the target class from a YAML file with NumPy file paths.

linkml_arrays.loaders.zarr_directory_store_loader module

Class for loading a LinkML model from a Zarr directory store.

class linkml_arrays.loaders.zarr_directory_store_loader.ZarrDirectoryStoreLoader

Bases: Loader

Class for loading a LinkML model from a Zarr directory store.

load(source: str, target_class: Type[Union[BaseModel, YAMLRoot]], schemaview: SchemaView, **kwargs)

Create an instance of the target class from a Zarr directory store.

load_any(source: str, **kwargs)

Create an instance of the target class from a Zarr directory store.

loads(source: str, **kwargs)

Create an instance of the target class from a Zarr directory store.

Module contents

Dumper classes for linkml-arrays.

class linkml_arrays.loaders.Hdf5Loader

Bases: Loader

Class for loading a LinkML model from an HDF5 file.

load(source: str, target_class: Type[Union[BaseModel, YAMLRoot]], schemaview: SchemaView, **kwargs)

Create an instance of the target class from an HDF5 file.

load_any(source: str, **kwargs)

Create an instance of the target class from an HDF5 file.

loads(source: str, **kwargs)

Create an instance of the target class from an HDF5 file.

class linkml_arrays.loaders.YamlHdf5Loader

Bases: Loader

Class for loading a LinkML model from a YAML file with HDF5 file paths.

load(source: str, target_class: Type[Union[BaseModel, YAMLRoot]], schemaview: SchemaView, **kwargs)

Create an instance of the target class from a YAML file with HDF5 file paths.

load_any(source: str, **kwargs)

Create an instance of the target class from a YAML file with HDF5 file paths.

loads(source: str, **kwargs)

Create an instance of the target class from a YAML file with HDF5 file paths.

class linkml_arrays.loaders.YamlLoader

Bases: Loader

Class for loading a LinkML model from a YAML file.

load(source: str, target_class: Type[Union[BaseModel, YAMLRoot]], schemaview: SchemaView, **kwargs)

Create an instance of the target class from a YAML file.

load_any(source: str, **kwargs)

Create an instance of the target class from a YAML file.

loads(source: str, **kwargs)

Create an instance of the target class from a YAML file.

class linkml_arrays.loaders.YamlNumpyLoader

Bases: Loader

Class for loading a LinkML model from a YAML file with NumPy file paths.

load(source: str, target_class: Type[Union[BaseModel, YAMLRoot]], schemaview: SchemaView, **kwargs)

Create an instance of the target class from a YAML file with NumPy file paths.

load_any(source: str, **kwargs)

Create an instance of the target class from a YAML file with NumPy file paths.

loads(source: str, **kwargs)

Create an instance of the target class from a YAML file with NumPy file paths.

class linkml_arrays.loaders.ZarrDirectoryStoreLoader

Bases: Loader

Class for loading a LinkML model from a Zarr directory store.

load(source: str, target_class: Type[Union[BaseModel, YAMLRoot]], schemaview: SchemaView, **kwargs)

Create an instance of the target class from a Zarr directory store.

load_any(source: str, **kwargs)

Create an instance of the target class from a Zarr directory store.

loads(source: str, **kwargs)

Create an instance of the target class from a Zarr directory store.