Unable to get the link rel='delta' when using getEntities() with Delta Service
@phanak-sap is already working on this.
Since Oct 24, 2025.
Assessment
This issue has not been assessed yet.
Description
Hi All,
I have a delta service in SAP OData v2. I am getting the entities without any problem with the standard
entity = getattr(self.service.entity_sets, entity_name)
request = entity.get_entities()
response = await request.async_execute()
The thing is that the returned ListWithTotalCount object that is returned as response does not serialize the non-entry xml elements.
There is however a very important part of the raw response that I cannot get to with help of the library. At the very end of the raw response (with standard requests library) there is an element
< link rel="delta"
href="AttrOfZC_SST_BUSINESSENTITY?&!deltatoken='DELTATOKEN'" >
Am I missing something ? I couldnt find a way to get to the raw response with pyodata through example or source code analysis. Could someone please point me to the right direction? I would really like to avoid having to fetch DeltaLinks in a separate request while the first one already fetches all I need.
Thanks!
- Dominant language
- Python
- Stars
- 268
- Forks
- 100
- PR merge metrics
- No merged PRs in 30d
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 SAP/python-pyodata
-
chore
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SAP/python-pyodata#304 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
SAP/python-pyodata#108 ·
-
chore
SAP/python-pyodata#302 · 1 assignee ·
-
bug
SAP/python-pyodata#282 · 2 comments · 1 assignee ·
-
bug
SAP/python-pyodata#280 · 13 comments · 1 assignee ·
All issues in SAP/python-pyodata
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
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100