Skip to content

Commit 747ab0b

Browse files
committed
black formatting
1 parent 5d3ca94 commit 747ab0b

File tree

170 files changed

+181
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+181
-15
lines changed

examples/auth/gcc_high.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
Microsoft Graph for US Government L4: https://graph.microsoft.us
55
"""
6+
67
import msal
78

89
from office365.graph_client import GraphClient

examples/auth/interactive_custom.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
1010
https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-authentication-flows#interactive-and-non-interactive-authentication
1111
"""
12+
1213
import msal
1314

1415
from office365.graph_client import GraphClient

examples/auth/interactive_sharepoint.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
99
https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-authentication-flows#interactive-and-non-interactive-authentication
1010
"""
11+
1112
import msal
1213

1314
from office365.runtime.auth.token_response import TokenResponse

examples/auth/register_sharepoint_apponly.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
4. upload certificate (public key)
1414
1515
"""
16+
1617
from office365.graph_client import GraphClient
1718
from tests import test_client_id, test_password, test_tenant, test_username
1819

examples/auth/with_adal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Note: ADAL for Python is no longer receive new feature improvement. Its successor, MSAL for Python,
55
are now generally available.
66
"""
7+
78
from office365.graph_client import GraphClient
89
from tests import load_settings
910

examples/auth/with_client_secret.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
88
https://learn.microsoft.com/en-us/entra/identity-platform/msal-authentication-flows#client-credentials
99
"""
10+
1011
import msal
1112

1213
from office365.graph_client import GraphClient

examples/auth/with_user_creds.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
https://github.com/AzureAD/microsoft-authentication-library-for-python/wiki/Username-Password-Authentication
55
"""
6+
67
import msal
78

89
from office365.graph_client import GraphClient

examples/communications/create_call.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Create peer-to-peer VoIP call with service hosted media
33
"""
4+
45
from office365.graph_client import GraphClient
56
from tests import test_client_id, test_client_secret, test_tenant
67

examples/directory/applications/app_password.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Adds a strong password or secret to an application.
33
https://learn.microsoft.com/en-us/graph/api/application-addpassword?view=graph-rest-1.0
44
"""
5+
56
from office365.graph_client import GraphClient
67
from tests import (
78
test_client_credentials,

examples/directory/applications/get_by_app_id.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
You can address an application or a service principal by its ID or by its appId, where ID is referred to
77
as Object ID and appId is referred to as Application (client) ID on the Azure portal.
88
"""
9+
910
from office365.graph_client import GraphClient
1011
from tests import test_client_id, test_client_secret, test_tenant
1112

0 commit comments

Comments
 (0)