Implement missing `$value` serialization modifier for PATCH requests

Đang mở
#645 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
api, backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
107
Fork
61
Merge trung bình
1 giờ 9 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-basyx/basyx-python-sdk

Tất cả issue của eclipse-basyx/basyx-python-sdk

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.