Implement missing `$value` serialization modifier for PATCH requests

Abierto
#645 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
api, backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
107
Forks
61
Merge medio
1 h 9 min
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de eclipse-basyx/basyx-python-sdk

Todos los issues de eclipse-basyx/basyx-python-sdk

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.