File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ def read_root():
2121import logging
2222import os
2323from datetime import timedelta
24+ from urllib .parse import urlparse
2425
2526import fastapi
2627import fastapi .responses
2728from http_message_signatures import InvalidSignature
28- from httpx import _urlparse
2929
3030from dispatch .client import Client
3131from dispatch .function import Registry
@@ -116,7 +116,7 @@ def __init__(
116116
117117 logger .info ("configuring Dispatch endpoint %s" , endpoint )
118118
119- parsed_url = _urlparse . urlparse (endpoint )
119+ parsed_url = urlparse (endpoint )
120120 if not parsed_url .netloc or not parsed_url .scheme :
121121 raise ValueError (
122122 f"{ endpoint_from } must be a full URL with protocol and domain (e.g., https://example.com)"
You can’t perform that action at this time.
0 commit comments