pyzte5g/rest_framework.py
def _build_cmd_url(self, path: str, query: str='') -> str:
        """
            Build URL for use in REST requests to the modem API.

            Arguments:
                path:
                    String pointing to REST endpoint.
                query:
                    URL encoded string containing query parameters.
            Returns:
                Formatted URL string.
        """
        return urlunsplit(
            self._url[0:2] + (path, (query or self._url.query), '')
        )

            Build URL for use in REST requests to the modem API.

            Arguments:
                path:
                    String pointing to REST endpoint.
                query:
                    URL encoded string containing query parameters.
            Returns:
                Formatted URL string.
        
Build URL for use in REST requests to the modem API.
Build URL for use in REST requests to the modem API .
def _build_cmd_url(self, path: str, query: str='') -> str:
        return urlunsplit(
            self._url[0:2] + (path, (query or self._url.query), '')
        )
def _build_cmd_url ( self , path : str , query : str = '' ) -> str : return urlunsplit ( self . _url [ 0 : 2 ] + ( path , ( query or self . _url . query ) , '' ) )
Build URL for use in REST requests to the modem API.
Build URL for use in REST requests to the modem API .
"""
            Build URL for use in REST requests to the modem API.

            Arguments:
                path:
                    String pointing to REST endpoint.
                query:
                    URL encoded string containing query parameters.
            Returns:
                Formatted URL string.
        """
Formatted URL string.
Formatted URL string .
self
path
str
String pointing to REST endpoint.
String pointing to REST endpoint .
query
str
URL encoded string containing query parameters.
URL encoded string containing query parameters .