nexusLIMS.cli.support_bundle#

Create local NexusLIMS diagnostic support bundles.

Module Contents#

Classes#

ArtifactMeta

Manifest metadata for one artifact.

BundleContext

State shared across support-bundle collectors.

Functions#

main

Create a local diagnostic archive for Datasophos support.

Data#

API#

nexusLIMS.cli.support_bundle.SCHEMA_VERSION#

1

nexusLIMS.cli.support_bundle.REDACTED#

‘***’

nexusLIMS.cli.support_bundle.SUPPORT_EMAIL#

‘support@datasophos.co’

nexusLIMS.cli.support_bundle.MIN_SECRET_LENGTH#

4

nexusLIMS.cli.support_bundle.PROBLEM_STATUSES#
nexusLIMS.cli.support_bundle.SECRET_PATTERN#

‘compile(…)’

nexusLIMS.cli.support_bundle.BEARER_PATTERN#

‘compile(…)’

class nexusLIMS.cli.support_bundle.ArtifactMeta[source]#

Manifest metadata for one artifact.

media_type#

Type: str

schema_version#

Type: int | None

record_count#

Type: int | None

status#

‘collected’

Type: str

error#

Type: str | None

class nexusLIMS.cli.support_bundle.BundleContext[source]#

State shared across support-bundle collectors.

report_dir#

Type: pathlib.Path

output#

Type: pathlib.Path

log_days#

Type: int

max_log_files#

Type: int

explicit_logs#

Type: tuple[pathlib.Path, …]

no_default_logs#

Type: bool

include_all_logs#

Type: bool

generated_at#

Type: datetime.datetime

errors#

Type: list[dict[str, str]]

included_logs#

Type: list[pathlib.Path]

artifact_metadata#

Type: dict[str, nexusLIMS.cli.support_bundle.ArtifactMeta]

property options: dict[str, Any]#

Return command options for manifest.json.

nexusLIMS.cli.support_bundle.main(**kwargs: Any) None#

Create a local diagnostic archive for Datasophos support.