Implement missing `$value` serialization modifier for PATCH requests

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

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
api, backend

調査の方向性

The issue depends on #644 for the ValueOnly format definition. Look at the existing deserialization code in the SDK, likely in a module handling submodels and submodel elements. The shared ValueOnly deserializer needs to be implemented and integrated with the PATCH routes mentioned. Check the existing redirect logic for AAS superpath. Start by understanding the current serialization/deserialization structure and the level parameter handling.

索引モデルが issue の本文から書いたものです。

説明

feature server

This issue regroups the already reported missing endpoints in #529 and #531 by underlying mechanism
rather than endpoint path. Part of #439.

Core issue here is the missing ValueOnly deserialization ($value modifier) for updating the values
of existing Submodels and SubmodelElements.

Affected endpoints:

  • PATCH /submodels/{submodelIdentifier}/$value (#529)
  • PATCH /submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$value (#531)

Scope:

  • One shared ValueOnly deserializer used by both routes, which applies the given values to the
    existing elements
  • Support the level query parameter (deep/core) on both routes

Depends on #644, as the ValueOnly format should be defined in one place for reading and writing.

Endpoints available via the AAS superpath (/shells/{aasIdentifier}/submodels/...) are covered
automatically through the existing redirect.

主要言語
Python
スター
107
フォーク
61
平均マージ
1時間 9分
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

eclipse-basyx/basyx-python-sdk のほかの issue

eclipse-basyx/basyx-python-sdk の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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