Session Constructor
Function Usage
Initializes a session.
Prototype
1 | Session(options: Optional[dict] = None) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
options |
Input |
Configure the option dictionary. This parameter is optional. |
Returns
None
Constraints
- If options is not of the dictionary type, TypeError is thrown.
- If the session fails to be created, RuntimeError is thrown.
Parent topic: Session