DOCUMENTATION
/
Get started
Guides
Developer
Reference
Release notes
Tutorials
Status
  1. Overview
    • Snowpark Session
    • Snowpark APIs
        1. Input/Output
        2. DataFrame
        3. Column
        4. Data Types
        5. Row
        6. Functions
        7. Window
        8. Grouping
        9. Table Function
        10. Table
        11. AsyncJob
        12. Stored Procedures
        13. StoredProcedureProfiler
        14. User-Defined Functions
        15. User-Defined Aggregate Functions
        16. User-Defined Table Functions
        17. Snowpark Secrets
        18. Observability
        19. Files
        20. Catalog
        21. LINEAGE
        22. Context
            1. context.get_active_session
          • Exceptions
          • Testing
      • Snowpark pandas API
      DeveloperSnowpark APIPythonPython API ReferenceSnowpark APIsContext

      ContextΒΆ

      Context module for Snowpark.

      get_active_session()

      Returns the current active Snowpark session.

      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 TermsCookies SettingsΒ© 2025 Snowflake, Inc. All Rights Reserved.
      Language: English
      • English
      • FranΓ§ais
      • Deutsch
      • ζ—₯本θͺž
      • ν•œκ΅­μ–΄
      • PortuguΓͺs