SAP / SAP/python-pyodata

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

オープン
#294 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@phanak-sap がすでに取り組んでいます。

2025年10月24日 から。

question
主要言語
Python
スター
268
フォーク
100
PR マージ指標
30日以内にマージされた PR はありません

説明

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!

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。