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