File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 4
4
# ------------------------------------
5
5
from ._constants import SDK_VERSION
6
6
from ._enums import APIVersion , NationalClouds
7
+ from .base_graph_request_adapter import BaseGraphRequestAdapter
7
8
from .graph_client_factory import GraphClientFactory
8
9
9
10
__version__ = SDK_VERSION
Original file line number Diff line number Diff line change 11
11
from .graph_client_factory import GraphClientFactory
12
12
13
13
14
- class GraphRequestAdapter (HttpxRequestAdapter ):
14
+ class BaseGraphRequestAdapter (HttpxRequestAdapter ):
15
15
16
16
def __init__ (
17
17
self ,
Original file line number Diff line number Diff line change 6
6
SerializationWriterFactoryRegistry ,
7
7
)
8
8
9
- from msgraph .core .graph_request_adapter import GraphRequestAdapter
9
+ from msgraph .core .base_graph_request_adapter import BaseGraphRequestAdapter
10
10
11
11
12
12
def test_create_graph_request_adapter (mock_auth_provider ):
13
- request_adapter = GraphRequestAdapter (mock_auth_provider )
13
+ request_adapter = BaseGraphRequestAdapter (mock_auth_provider )
14
14
assert request_adapter ._authentication_provider is mock_auth_provider
15
15
assert isinstance (request_adapter ._parse_node_factory , ParseNodeFactoryRegistry )
16
16
assert isinstance (
@@ -22,4 +22,4 @@ def test_create_graph_request_adapter(mock_auth_provider):
22
22
23
23
def test_create_request_adapter_no_auth_provider ():
24
24
with pytest .raises (TypeError ):
25
- GraphRequestAdapter (None )
25
+ BaseGraphRequestAdapter (None )
You can’t perform that action at this time.
0 commit comments