WorkerDescription

class mcai_worker_sdk.WorkerDescription(package_name)

Description of the worker. The fields are automatically bound to the information contained in the pyproject.toml file when instantiating the class.

Parameters:

package_name (str) – The name of the package.

Examples

>>> desc = mcai.WorkerDescription(__package__)
description

Description of the worker.

Bound to the field description of the pyproject.toml.

license

License of the worker.

Bound to the field license of the pyproject.toml.

name

Name of the worker.

Bound to the field name of the pyproject.toml.

version

Version of the worker.

Bound to the field version of the pyproject.toml.