Skip to content

Commit

Permalink
Merge branch 'main' into shem/batch_requests
Browse files Browse the repository at this point in the history
  • Loading branch information
shemogumbe authored Sep 5, 2024
2 parents 91e9881 + ef3c8b4 commit eecf1d8
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@8a08d616893759ef8e1aa1f2785787c0b97e20d6
uses: pypa/gh-action-pypi-publish@0ab0b79471669eb3a4d647e625009c62f9f3b241
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.1.2"
".": "1.1.3"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file.

## [1.1.3](https://github.com/microsoftgraph/msgraph-sdk-python-core/compare/v1.1.2...v1.1.3) (2024-09-03)


### Bug Fixes

* remove print statements from upload code. ([353d72d](https://github.com/microsoftgraph/msgraph-sdk-python-core/commit/353d72da513e0c5b809d31a8d921de0a0bde10be))

## [1.1.2](https://github.com/microsoftgraph/msgraph-sdk-python-core/compare/v1.1.1...v1.1.2) (2024-07-12)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "msgraph-core"
# The SDK version
# x-release-please-start-version
version = "1.1.2"
version = "1.1.3"
# x-release-please-end
authors = [{name = "Microsoft", email = "[email protected]"}]
description = "Core component of the Microsoft Graph Python SDK"
Expand Down
2 changes: 1 addition & 1 deletion src/msgraph_core/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
DEFAULT_CONNECTION_TIMEOUT = 30
# The SDK version
# x-release-please-start-version
SDK_VERSION = '1.1.2'
SDK_VERSION = '1.1.3'
# x-release-please-end
MS_DEFAULT_SCOPE = 'https://graph.microsoft.com/.default'
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 eecf1d8

Please sign in to comment.