Unable to get the link rel='delta' when using getEntities() with Delta Service

Offen
#294 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@phanak-sap arbeitet bereits daran.

Seit 24.10.2025.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

question

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!

Vorherrschende Sprache
Python
Sterne
268
Forks
100
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus SAP/python-pyodata

Alle Issues in SAP/python-pyodata

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.