Unable to get the link rel='delta' when using getEntities() with Delta Service
@phanak-sap ci sta già lavorando.
Dal 24/10/2025.
- Lingua principale
- Python
- Stelle
- 268
- Fork
- 100
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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!
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.