graphscope.get_default_session

graphscope.get_default_session()[source]

Returns the default session for the current context.

Note that a new session will be created if there is no default session in current context.

Returns

The default graphscope.Session.