mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-13 21:22:42 +00:00
mypy
This commit is contained in:
parent
314ca13835
commit
8d2018baf7
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ def normalize_request(method: str, url: str, headers: dict[str, Any], body: dict
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
|
|
||||||
parsed = urlparse(url)
|
parsed = urlparse(url)
|
||||||
normalized = {
|
normalized: dict[str, Any] = {
|
||||||
"method": method.upper(),
|
"method": method.upper(),
|
||||||
"endpoint": parsed.path,
|
"endpoint": parsed.path,
|
||||||
"body": body,
|
"body": body,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue