Module session (3.17.0)

Wrapper for Cloud Spanner Session objects.

Classes

Session

  Session 
 ( 
 database 
 , 
 labels 
 = 
 None 
 ) 
 

Representation of a Cloud Spanner Session.

We can use a Session to:

  • create the session
  • Use exists to check for the existence of the session
  • drop the session
Parameters
Name
Description
database
Database

The database to which the session is bound.

labels
dict (str -> str)

(Optional) User-assigned labels for the session.

Design a Mobile Site
View Site in Mobile | Classic
Share by: