piwebasync/api/models.py
def _build_request(
        self,
        method: str,
        protocol: str,
        controller: str,
        action: str = None,
        webid: str = None,
        add_path: List[str] = None,
        **params: Any
    ):
        """Serialize params and return APIRequest instance"""
        serialized_params = self._serialize_params(params)
        return APIRequest(
            root=self.root,
            method=method,
            protocol=protocol,
            controller=controller,
            scheme=self.scheme,
            host=self.host,
            port=self.port,
            action=action,
            webid=webid,
            add_path=add_path,
            **serialized_params
        )
Serialize params and return APIRequest instance
Serialize params and return APIRequest instance
Serialize params and return APIRequest instance
def _build_request(
        self,
        method: str,
        protocol: str,
        controller: str,
        action: str = None,
        webid: str = None,
        add_path: List[str] = None,
        **params: Any
    ):
        serialized_params = self._serialize_params(params)
        return APIRequest(
            root=self.root,
            method=method,
            protocol=protocol,
            controller=controller,
            scheme=self.scheme,
            host=self.host,
            port=self.port,
            action=action,
            webid=webid,
            add_path=add_path,
            **serialized_params
        )
def _build_request ( self , method : str , protocol : str , controller : str , action : str = None , webid : str = None , add_path : List [ str ] = None , ** params : Any ) : serialized_params = self . _serialize_params ( params ) return APIRequest ( root = self . root , method = method , protocol = protocol , controller = controller , scheme = self . scheme , host = self . host , port = self . port , action = action , webid = webid , add_path = add_path , ** serialized_params )
Serialize params and return APIRequest instance
Serialize params and return APIRequest instance
"""Serialize params and return APIRequest instance"""
self
method
str
protocol
str
controller
str
action
str
webid
str
add_path
List[str]
params
Any