SAService Architect Back to designer
SAService ArchitectDocumentation
Python API reference ProgrammingLanguage.GO | CallSemantics.TASK_POOL | LOCAL_MODULE

Enums and sentinels

Use exported enum members and sentinel objects instead of reproducing serialized strings.

When to use

Import these values wherever a factory parameter presents an enum or ownership choice.

Behavior

  • Enum values serialize to the exact Service Architect contract spelling.

Runtime and graph enums properties

Core service and stream choices.

PropertyTypeDescription
ProgrammingLanguageenum

GO, CPP_USERVER, PYTHON, RUST, CPP_BOOST, TYPESCRIPT.

Environmentenum

Deployment environment values supported by the topology.

KubernetesWorkloadTypeenum

Kubernetes workload selection.

StreamTypeenum

All graph transformation kinds; selected implicitly by typed Pipeline methods.

CallSemanticsenum

INHERITED, FUNCTION_CALL, TASK_POOL, PRIORITY_TASK_POOL, PARALLEL_CALL.

Types and operator enums properties

Data and transformation configuration.

PropertyTypeDescription
DataTypeenum

Built-in scalar, collection, message, custom, any, and error contracts.

TypeDefinitionFormatenum

NATIVE, PROTOBUF, FLAT_BUFFERS, CAP_N_PROTO, OPENAPI.

JoinType / JoinStorageTypeenums

Join result and state storage behavior.

ProcessPatternenum

EXECUTE or COLLECT.

Integration enums properties

Connector and endpoint options.

PropertyTypeDescription
DataConnectorImplementationenum

Language-specific runtime adapters.

HTTPMethodType / GrpcMethodTypeenums

HTTP verb and gRPC streaming shape.

KafkaSecurityProtocol / KafkaSaslMechanismenums

Kafka transport authentication.

ScheduleOverlapPolicy / ScheduleMissedRunPolicyenums

Cron and Temporal schedule behavior.

TemporalExecutionTypeenum

ACTIVITY or WORKFLOW; selected implicitly by endpoint methods.

Ownership sentinels properties

Distinguish omitted, root, and explicit-local values.

PropertyTypeDescription
ROOT_PACKAGEPackage

Empty package object.

LOCAL_MODULEsentinel

Explicit local module represented as YAML null.

NULLsentinel

Explicit YAML null for supported low-level cases.

NonePython value

Omit an optional serialized field.

Python example

service = project.service(
    "Orders",
    programming_language=ProgrammingLanguage.GO,
    module_path="github.com/example/orders",
    kubernetes_workload_type=KubernetesWorkloadType.DEPLOYMENT,
)
callback = Function(name="ProcessOrder", module=LOCAL_MODULE)