We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c257c69 commit 71d0f7fCopy full SHA for 71d0f7f
1 file changed
tests/shared/test_auth.py
@@ -6,10 +6,12 @@
6
7
8
def _make_client(scope: str | None) -> OAuthClientInformationFull:
9
- return OAuthClientInformationFull(
10
- redirect_uris=["https://example.com/callback"],
11
- scope=scope,
12
- client_id="test-client",
+ return OAuthClientInformationFull.model_validate(
+ {
+ "redirect_uris": ["https://example.com/callback"],
+ "scope": scope,
13
+ "client_id": "test-client",
14
+ }
15
)
16
17
0 commit comments