Skip to content

fix: remove print statements from upload code. #680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/msgraph_core/tasks/large_file_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,9 @@ async def upload(self, after_chunk_upload: Optional[Callable] = None):

while self.chunks >= 0:
session = process_next
print(f"Chunks for upload : {self.chunks}")
if self.chunks == 0:
# last chunk
print(f"Last chunk: {self.chunks} upload stated")
response = await self.last_chunk(self.stream)
print("Last chunk response: received")

try:
lfu_session: LargeFileUploadSession = session # type: ignore
Expand Down