Session

class core.zowe.core_for_zowe_sdk.session.Session(props: dict[str, Any])

Class used to set connection details received from a ProfileManager or manually set by passing and ISession object.

Parameters:

props (dict[str, Any]) – Profile and properties

Raises:

ValueError – Exception thrown when cert key is not provided

property host_url: str

Return the formatted host URL.

Returns:

the formatted host URL

Return type:

str

load() ISession

Load a ISession object.

Returns:

A custom ISession object.

Return type:

ISession