ucscsdk/ucschandle.py
def login(self, auto_refresh=False, force=False):
        """
        Initiates a connection to the server referenced by the
        UcscHandle.
        A cookie is populated in the UcscHandle, if the login is
        successful.

        Args:
            auto_refresh (bool): if set to True, it refresh the cookie
                continuously
            force (bool): if set to True it reconnects even if cookie exists
                and is valid for respective connection.

        Returns:
            True on successful connect

        Example:
            handle.login()\n
            handle.login(auto_refresh=True)\n
            handle.login(force=True)\n
            handle.login(auto_refresh=True, force=True)\n

            where handle is UcscHandle()
        """

        return self._login(auto_refresh, force)

        Initiates a connection to the server referenced by the
        UcscHandle.
        A cookie is populated in the UcscHandle, if the login is
        successful.

        Args:
            auto_refresh (bool): if set to True, it refresh the cookie
                continuously
            force (bool): if set to True it reconnects even if cookie exists
                and is valid for respective connection.

        Returns:
            True on successful connect

        Example:
            handle.login()\n
            handle.login(auto_refresh=True)\n
            handle.login(force=True)\n
            handle.login(auto_refresh=True, force=True)\n

            where handle is UcscHandle()
        
Initiates a connection to the server referenced by the
UcscHandle.
A cookie is populated in the UcscHandle, if the login is
successful.
Initiates a connection to the server referenced by the UcscHandle . A cookie is populated in the UcscHandle if the login is successful .
def login(self, auto_refresh=False, force=False):
        return self._login(auto_refresh, force)
def login ( self , auto_refresh = False , force = False ) : return self . _login ( auto_refresh , force )
Initiates a connection to the server referenced by the
UcscHandle.
Initiates a connection to the server referenced by the UcscHandle .
"""
        Initiates a connection to the server referenced by the
        UcscHandle.
        A cookie is populated in the UcscHandle, if the login is
        successful.

        Args:
            auto_refresh (bool): if set to True, it refresh the cookie
                continuously
            force (bool): if set to True it reconnects even if cookie exists
                and is valid for respective connection.

        Returns:
            True on successful connect

        Example:
            handle.login()\n
            handle.login(auto_refresh=True)\n
            handle.login(force=True)\n
            handle.login(auto_refresh=True, force=True)\n

            where handle is UcscHandle()
        """
True on successful connect
True on successful connect
self
auto_refresh
if set to True, it refresh the cookie
continuously
if set to True it refresh the cookie continuously
force
if set to True it reconnects even if cookie exists
and is valid for respective connection.
if set to True it reconnects even if cookie exists and is valid for respective connection .
examples
handle.login()\n
handle.login(auto_refresh=True)\n
handle.login(force=True)\n
handle.login(auto_refresh=True, force=True)\n


handle . login () \ n handle . login ( auto_refresh = True ) \ n handle . login ( force = True ) \ n handle . login ( auto_refresh = True force = True ) \ n