Regression in microsoft-kiota-http 1.13.0: DriveItem content.get() returns None
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start by reproducing the async graph_client.drives...items...content.get() call with microsoft-kiota-http 1.13.0 and the listed environment, then compare it with 1.12.3. Trace the content response handling and add or update coverage for this regression; done means the call returns the expected file bytes rather than None.
Written by the indexing model from the issue text.
Description
Environment:
msgraph-sdk: 1.63.0
msgraph-core: 1.5.1
microsoft-kiota-abstractions: 1.13.0
microsoft-kiota-http: 1.13.0
httpx: 0.27.0
Python: 3.12
Databricks
Problem:
DriveItem /content returns None with microsoft-kiota-http 1.13.0.
Same code with microsoft-kiota-http 1.12.3 returns the expected bytes.
Graph metadata reports the file correctly (size: 2346 bytes), and
@microsoft.graph.downloadUrl successfully downloads the file.
file_bytes = await graph_client.drives
.by_drive_id(drive_id)
.items.by_drive_item_id(item_id)
.content.get()
print(file_bytes)
1.13.0: None
1.12.3: expected bytes
- Dominant language
- Python
- Stars
- 31
- Forks
- 39
- Avg merge
- 13h 21m
- Merged PRs (30d)
- 46
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/kiota-python
-
help wanted type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/kiota-python#477 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
microsoft/kiota-python#744 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
microsoft/kiota-python#737 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
microsoft/kiota-python#722 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 18/100
microsoft/kiota-python#533 · 1 comment · 1 reaction ·
All issues in microsoft/kiota-python
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100