snowflake.core.service.ServiceSpec

snowflake.core.service.ServiceSpec(spec: str) ServiceSpecInlineText | ServiceSpecStageFile

Infers whether a specification is a stage file or inline text.

Any spec that starts with ‘@’ is parsed as a stage file, otherwise it is passed as an inline text.