Hi Everyone,
How do i create an ONTAP session object with username/password and use it for other rest API calls? Can anyone provide an example with connection object
def session(self) -> requests.Session:
"""A `requests.Session` object which is used for all API calls.
This session is reused for each API call made with this connection. Multiple
requests may therefore be sent through the same TCP connection assuming
the host supports keep-alive.
Returns:
A `requests.Session` object which is used for all API calls.
"""