Skip to content

Commit e787bd0

Browse files
committed
Fix mypy issues
1 parent c95d237 commit e787bd0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/msgraph_core/graph_client_factory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def create_with_default_middleware(
4444
Returns:
4545
httpx.AsyncClient: An instance of the AsyncClient object
4646
"""
47-
client.base_url = GraphClientFactory._get_base_url(host, api_version)
47+
client.base_url = GraphClientFactory._get_base_url(host, api_version) # type: ignore
4848
middleware = KiotaClientFactory.get_default_middleware(options)
4949
telemetry_handler = GraphClientFactory._get_telemetry_handler(options)
5050
middleware.append(telemetry_handler)
@@ -70,7 +70,7 @@ def create_with_custom_middleware(
7070
host (NationalClouds): The national clound endpoint to be used.
7171
Defaults to NationalClouds.Global.
7272
"""
73-
client.base_url = GraphClientFactory._get_base_url(host, api_version)
73+
client.base_url = GraphClientFactory._get_base_url(host, api_version) # type: ignore
7474
return GraphClientFactory._load_middleware_to_client(client, middleware)
7575

7676
@staticmethod

src/msgraph_core/middleware/options/graph_telemetry_handler_option.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def api_version(self):
3232
return self._api_version
3333

3434
@api_version.setter
35-
def api_version(self, value: bool):
35+
def api_version(self, value: APIVersion):
3636
self._api_version = value
3737

3838
@property
@@ -41,7 +41,7 @@ def sdk_version(self):
4141
return self._sdk_version
4242

4343
@sdk_version.setter
44-
def sdk_version(self, value: List[str]):
44+
def sdk_version(self, value: str):
4545
self._sdk_version = value
4646

4747
@staticmethod

0 commit comments

Comments
 (0)