Skip to content

mecfs_bio.build_system.meta.base_meta

Base classes for the two types of metadata: FileMeta and DirMeta.

Classes:

  • DirMeta

    Metadata describing a directory asset that either currently exists or does not exist but can be materialized.

  • FileMeta

    Metadata describing a file asset that either currently exists or does not exist but can be materialized.

DirMeta

Bases: ABC

Metadata describing a directory asset that either currently exists or does not exist but can be materialized.

Attributes:

asset_id abstractmethod property

asset_id: AssetId

FileMeta

Bases: ABC

Metadata describing a file asset that either currently exists or does not exist but can be materialized.

Methods:

  • read_spec

    A specifier describing how the data should be read

Attributes:

asset_id abstractmethod property

asset_id: AssetId

A uniquely identifying ID for the asset

read_spec

read_spec() -> ReadSpec | None

A specifier describing how the data should be read

Source code in mecfs_bio/build_system/meta/base_meta.py
def read_spec(self) -> ReadSpec | None:
    """
    A specifier describing how the data should be read
    """
    return None