Signature

Signature#

class tierkreis.core.signature.Signature(root: ~tierkreis.core.signature.Namespace, aliases: dict[str, ~tierkreis.core.types.TypeScheme] = <factory>, scopes: list[~tierkreis.core.protos.tierkreis.v1alpha1.graph.Location] = <factory>)[source]#

Bases: object

A Tierkreis worker signature. Defined primarily by a root namespace, also defines type aliases and available execution scopes.

Methods

empty

Create an empty Signature

from_proto

to_proto

Attributes

root

aliases

scopes

classmethod empty() Signature[source]#

Create an empty Signature