MCPcopy Create free account
hub / github.com/Integuru-AI/Integuru / __init__

Method __init__

integuru/models/request.py:5–11  ·  view source on GitHub ↗
(self, method: str, url: str, headers: Dict[str, str], 
                 query_params: Optional[Dict[str, str]] = None, body: Optional[Any] = None)

Source from the content-addressed store, hash-verified

3
4class Request:
5 def __init__(self, method: str, url: str, headers: Dict[str, str],
6 query_params: Optional[Dict[str, str]] = None, body: Optional[Any] = None):
7 self.method = method
8 self.url = url
9 self.headers = headers
10 self.query_params = query_params
11 self.body = body
12
13 def to_curl_command(self) -> str:
14 curl_parts = [f"curl -X {self.method}"]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected