DOCUMENTATION
/
Getting Started
Guides
Developer
Reference
Releases
Tutorials
Snowflake Open Catalog
Status
  1. Overview
    • snowflake.core
    • exceptions
    • database
    • schema
    • task
    • task.context
    • task.dagv1
    • compute_pool
    • account
    • managed_account
    • image_repository
    • service
        1. service.ServiceSpec
          • service.Service
            • service.ServiceCollection
              • service.ServiceResource
                • service.ServiceSpecification
                  • service.ServiceSpecInlineText
                    • service.ServiceSpecStageFile
                      • service.JobService
                        • service.ServiceContainer
                          • service.ServiceEndpoint
                            • service.ServiceInstance
                              • service.ServiceRole
                            • pipe
                            • external_volume
                            • table
                            • warehouse
                            • cortex
                              • dynamic_table
                              • function
                              • grant
                              • notification_integration
                              • role
                              • user
                              • stage
                              • view
                              • event_table
                              • network_policy
                              • stream
                              • alert
                              • catalog_integration
                              • notebook
                              • user_defined_function
                              • procedure
                              DeveloperSnowflake Python APIsSnowflake Python APIs referenceserviceservice.ServiceSpec
                              You are viewing documentation about an older version (0.13.0). View latest version

                              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.

                              Was this page helpful?

                              Visit Snowflake
                              Join the conversation
                              Develop with Snowflake
                              Share your feedback
                              Read the latest on our blog
                              Get your own certification
                              Privacy NoticeSite Terms© 2025 Snowflake, Inc. All Rights Reserved.
                              Language: English
                              • English
                              • Français
                              • Deutsch
                              • 日本語
                              • 한국어
                              • Português