Skip to main content

component.meta_information

MetaInformation Objects

class MetaInformation(InformationFile)

Accesses meta information about the entire project stored in a JSON file.

__init__

def __init__(*,
info_file: str = "/config/meta-information.json",
env_prefix: str = "RDS_META")

Arguments:

  • info_file - The JSON file to load the meta information from.
  • env_prefix - The prefix to use when generating the environment variable name of a setting.

Raises:

  • ValueError - If the information file couldn't be loaded.

title

@property
def title() -> str

The project title.

version

@property
def version() -> Version

The project version (see https://semver.org).