Unable to get the link rel='delta' when using getEntities() with Delta Service
@phanak-sap ya está trabajando en esto.
Desde el 24/10/2025.
- Lenguaje dominante
- Python
- Estrellas
- 268
- Forks
- 100
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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!
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.