Skip to content

Commit f401001

Browse files
authored
Merge pull request #796 from microsoftgraph/shem/fix_parsable_factory_type_hint_error
remove generic from parsable factory type hint error
2 parents d601260 + 9a6caeb commit f401001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/msgraph_core/tasks/large_file_upload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(
2525
upload_session: Parsable,
2626
request_adapter: RequestAdapter,
2727
stream: BytesIO,
28-
parsable_factory: Optional[ParsableFactory[T]] = None,
28+
parsable_factory: Optional[ParsableFactory] = None,
2929
max_chunk_size: int = 5 * 1024 * 1024
3030
):
3131
self._upload_session = upload_session
@@ -188,7 +188,7 @@ async def last_chunk(
188188
file: BytesIO,
189189
range_start: int = 0,
190190
range_end: int = 0,
191-
parsable_factory: Optional[ParsableFactory[T]] = None
191+
parsable_factory: Optional[ParsableFactory] = None
192192
) -> Optional[Union[T, bytes]]:
193193
upload_url = self.get_validated_upload_url(self.upload_session)
194194
if not upload_url:

0 commit comments

Comments
 (0)