Skip to content

Commit 1bd076d

Browse files
committed
- code linting
1 parent 2094e97 commit 1bd076d

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

msgraph/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
from .graph_request_adapter import GraphRequestAdapter
66
from .graph_service_client import GraphServiceClient
77

8-
__version__ = VERSION
8+
__version__ = VERSION

msgraph/graph_request_adapter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ class GraphRequestAdapter(BaseGraphRequestAdapter):
2222
def __init__(self, auth_provider: AuthenticationProvider,
2323
client: Optional[httpx.AsyncClient] = GraphClientFactory.create_with_default_middleware(options=options)) -> None:
2424
super().__init__(auth_provider, http_client=client)
25-

msgraph/graph_service_client.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ------------------------------------
22
# Copyright (c) Microsoft Corporation. All Rights Reserved.
3-
# Licensed under the MIT License.
3+
# Licensed under the MIT License.
44
# See License in the project root for license information.
55
# -----------------------------------
66

@@ -35,28 +35,28 @@ def __init__(
3535
request_adapter (Optional[GraphRequestAdapter], optional): The request
3636
adapter to use for requests. Defaults to None.
3737
"""
38-
38+
3939
if not request_adapter:
4040
if not credentials:
4141
raise ValueError("Missing request adapter or valid credentials")
42-
42+
4343
if scopes:
4444
auth_provider = AzureIdentityAuthenticationProvider(credentials, scopes=scopes)
4545
else:
4646
auth_provider = AzureIdentityAuthenticationProvider(credentials)
47-
47+
4848
request_adapter = GraphRequestAdapter(auth_provider)
49-
49+
5050
super().__init__(request_adapter)
51-
51+
5252
@property
5353
def me(self) -> UserItemRequestBuilder:
5454
"""
5555
Maps requests to /me endpoint to /users/{{user-id}}
5656
"""
5757
from .generated.users.item.user_item_request_builder import UserItemRequestBuilder
58-
58+
5959
url_tpl_parameters = self.path_parameters
6060
url_tpl_parameters["user%2Did"] = "me-token-to-replace"
6161

62-
return UserItemRequestBuilder(self.request_adapter, url_tpl_parameters)
62+
return UserItemRequestBuilder(self.request_adapter, url_tpl_parameters)

0 commit comments

Comments
 (0)