Skip to content

Commit 4f3da09

Browse files
committed
fix signature
1 parent aa6343d commit 4f3da09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/auth_oidc_shared.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class _OIDCProperties:
6464
environment: Optional[str] = field(default=None)
6565
allowed_hosts: list[str] = field(default_factory=list)
6666
token_resource: Optional[str] = field(default=None)
67-
username: str = ""
67+
username: Optional[str] = ""
6868

6969

7070
"""Mechanism properties for MONGODB-OIDC authentication."""

0 commit comments

Comments
 (0)