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. Observability
        18. Files
        19. Catalog
        20. LINEAGE
        21. 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