Skip to content

Commit 1001db4

Browse files
authored
Merge pull request #889 from torzsmokus/patch-1
better type hint for ClientContext constructor
2 parents 8b39315 + 404ad92 commit 1001db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

office365/sharepoint/client_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class ClientContext(ClientRuntimeContext):
4242
"""SharePoint client context (SharePoint v1 API)"""
4343

4444
def __init__(self, base_url, auth_context=None):
45-
# type: (str, AuthenticationContext) -> None
45+
# type: (str, AuthenticationContext | None) -> None
4646
"""
4747
Instantiates a SharePoint client context
4848

0 commit comments

Comments
 (0)