Skip to content

Commit

Permalink
Merge pull request #680 from microsoftgraph/fix-logging
Browse files Browse the repository at this point in the history
fix: remove print statements from upload code.
  • Loading branch information
andrueastman authored Sep 3, 2024
2 parents bf538c5 + 353d72d commit 9f4d0d6
Showing 1 changed file with 0 additions and 3 deletions.
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

0 comments on commit 9f4d0d6

Please sign in to comment.