Skip to content

Commit

Permalink
fix: suppressed linting error message that fails dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
baywet committed Jul 12, 2024
1 parent 857ad99 commit d7c0e1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/msgraph_core/tasks/large_file_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class LargeFileUploadTask:

def __init__(
self,
self, # pylint: disable=too-many-instance-attributes
upload_session: Parsable,
request_adapter: RequestAdapter,
stream: BytesIO,
Expand Down Expand Up @@ -128,7 +128,7 @@ async def upload(self, after_chunk_upload: Optional[Callable] = None):
self.next_range = next_range[0] + "-"
process_next = await self.next_chunk(self.stream)

except Exception as error:
except Exception as error: #pylint: disable=broad-except
logging.error("Error uploading chunk %s", error)
finally:
self.chunks -= 1
Expand Down

0 comments on commit d7c0e1b

Please sign in to comment.