MySQL Shell API 8.0.30
Unified development interface for MySQL Products
Methods | Properties | List of all members
ShellContextWrapper Class Reference

Holds shell context which is used by a thread, gives access to the shell context object through get_shell(). More...

Methods

Shell get_shell ()
 Shell object in its own context More...
 

Properties

dict globals
 Gives access to the global objects registered on the context.
 

Detailed Description

Holds shell context which is used by a thread, gives access to the shell context object through get_shell().

Member Function Documentation

◆ get_shell()

Shell get_shell ( )

Shell object in its own context

Returns
Shell

This function returns shell object that has its own scope.