Golang() | DataConnectorImplementation.IBM_SARAMA | LOCAL_MODULEEnums and sentinels — Python Architecture DSL
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.
Service language objectstyped configGolang, CppUserver, CppBoost, Python, Rust, and TypeScript.
EnvironmentenumDeployment environment values supported by the topology.
KubernetesWorkloadTypeenumKubernetes workload selection.
StreamTypeenumAll graph transformation kinds; selected implicitly by typed Pipeline methods.
CallSemanticsenumINHERITED, FUNCTION_CALL, TASK_POOL, PRIORITY_TASK_POOL, PARALLEL_CALL.
Types and operator enums properties
Data and transformation configuration.
DataTypeenumBuilt-in scalar, collection, message, custom, any, and error contracts.
TypeDefinitionFormatenumNATIVE, PROTOBUF, FLAT_BUFFERS, CAP_N_PROTO, OPENAPI.
JoinType / JoinStorageTypeenumsJoin result and state storage behavior.
ProcessPatternenumEXECUTE or COLLECT.
Integration enums properties
Connector and endpoint options.
DataConnectorImplementationenumLanguage-specific runtime adapters.
HTTPMethodType / GrpcMethodTypeenumsHTTP verb and gRPC streaming shape.
KafkaSecurityProtocol / KafkaSaslMechanismenumsKafka transport authentication.
ScheduleOverlapPolicy / ScheduleMissedRunPolicyenumsCron and Temporal schedule behavior.
TemporalExecutionTypeenumACTIVITY or WORKFLOW; selected implicitly by endpoint methods.
Ownership sentinels properties
Distinguish omitted, root, and explicit-local values.
ROOT_PACKAGEPackageEmpty package object.
LOCAL_MODULEsentinelExplicit local module represented as YAML null.
NULLsentinelExplicit YAML null for supported low-level cases.
NonePython valueOmit an optional serialized field.
Python example
service = project.service(
"Orders",
language=Golang(version="1.25.4"),
module=ServiceModule(path="github.com/example/orders"),
kubernetes=Kubernetes(workload_type=KubernetesWorkloadType.DEPLOYMENT),
)
callback = Function(name="ProcessOrder", module=LOCAL_MODULE)