File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 77
88from ._version import VERSION
99
10+ apiVersion = APIVersion .beta
11+
1012options = {
1113 UrlReplaceHandlerOption .get_key (): UrlReplaceHandlerOption (
1214 enabled = True ,
1315 replacement_pairs = {"/users/me-token-to-replace" : "/me" }
1416 ),
1517 GraphTelemetryHandlerOption .get_key (): GraphTelemetryHandlerOption (
16- api_version = APIVersion . beta ,
18+ api_version = apiVersion ,
1719 sdk_version = VERSION )
1820}
1921
2022class GraphRequestAdapter (BaseGraphRequestAdapter ):
2123 def __init__ (self , auth_provider : AuthenticationProvider ,
2224 client : Optional [httpx .AsyncClient ] = None ) -> None :
2325 if client is None :
24- client = GraphClientFactory .create_with_default_middleware (options = options )
26+ client = GraphClientFactory .create_with_default_middleware (api_version = apiVersion , options = options )
2527 super ().__init__ (auth_provider , http_client = client )
You can’t perform that action at this time.
0 commit comments