Skip to content

Commit d13e797

Browse files
committed
fix
1 parent 3629471 commit d13e797

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/openrouter/utils/oauth_create_authorization_url.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from dataclasses import dataclass
44
from typing import TYPE_CHECKING, Literal, Optional, Union
5-
from urllib.parse import urlencode, urlparse
5+
from urllib.parse import ParseResult, urlencode, urlparse
66

77
if TYPE_CHECKING:
88
from openrouter.sdk import OpenRouter
@@ -11,7 +11,7 @@
1111
@dataclass
1212
class CreateAuthorizationUrlRequestBase:
1313
"""Base request parameters for creating an authorization URL"""
14-
callback_url: Union[str, "urlparse"]
14+
callback_url: Union[str, ParseResult]
1515
limit: Optional[float] = None
1616

1717

0 commit comments

Comments
 (0)