File tree Expand file tree Collapse file tree 5 files changed +0
-8
lines changed Expand file tree Collapse file tree 5 files changed +0
-8
lines changed Original file line number Diff line number Diff line change 3
3
# Licensed under the MIT License.
4
4
# ------------------------------------
5
5
import functools
6
- from typing import Optional
7
6
8
7
from requests import Session
9
8
Original file line number Diff line number Diff line change 2
2
# Copyright (c) Microsoft Corporation.
3
3
# Licensed under the MIT License.
4
4
# ------------------------------------
5
- from typing import List , Optional
6
-
7
5
from requests import Request , Session
8
6
9
7
from .client_factory import HTTPClientFactory
10
- from .middleware .abc_token_credential import TokenCredential
11
- from .middleware .middleware import BaseMiddleware
12
8
from .middleware .request_context import RequestContext
13
9
14
10
supported_options = ['scopes' , 'custom_option' ]
Original file line number Diff line number Diff line change 3
3
# Licensed under the MIT License.
4
4
# ------------------------------------
5
5
import ssl
6
- import uuid
7
6
8
7
from requests .adapters import HTTPAdapter
9
8
from urllib3 import PoolManager
Original file line number Diff line number Diff line change 10
10
from msgraph .core .constants import CONNECTION_TIMEOUT , REQUEST_TIMEOUT
11
11
from msgraph .core .enums import APIVersion , NationalClouds
12
12
from msgraph .core .middleware .authorization import AuthorizationHandler
13
- from msgraph .core .middleware .middleware import BaseMiddleware , MiddlewarePipeline
14
13
15
14
16
15
def test_initialize_with_default_config ():
Original file line number Diff line number Diff line change 11
11
from msgraph .core .enums import APIVersion , NationalClouds
12
12
from msgraph .core .graph_client import GraphClient
13
13
from msgraph .core .middleware .authorization import AuthorizationHandler
14
- from msgraph .core .middleware .middleware import BaseMiddleware , MiddlewarePipeline
15
14
16
15
17
16
def test_graph_client_with_default_middleware ():
You can’t perform that action at this time.
0 commit comments