mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
fix
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
from dataclasses import dataclass
|
||||
from typing import TYPE_CHECKING, Literal, Optional, Union
|
||||
from urllib.parse import urlencode, urlparse
|
||||
from urllib.parse import ParseResult, urlencode, urlparse
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from openrouter.sdk import OpenRouter
|
||||
@@ -11,7 +11,7 @@ if TYPE_CHECKING:
|
||||
@dataclass
|
||||
class CreateAuthorizationUrlRequestBase:
|
||||
"""Base request parameters for creating an authorization URL"""
|
||||
callback_url: Union[str, "urlparse"]
|
||||
callback_url: Union[str, ParseResult]
|
||||
limit: Optional[float] = None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user