Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Allow affordances to be hidden from HTTP

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

Nadie ha tomado este issue todavía.

Evaluación

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

Línea de trabajo

Look at how affordances are defined and exposed in the codebase, likely in modules related to Thing Description generation and HTTP route registration. Examine the affordance class definitions and the serialization logic to understand where visibility could be controlled. A good starting point is to search for 'affordance' or 'ThingDescription' in the source. The change will involve modifying the affordance metadata handling and the API description endpoints to filter based on a new attribute or naming convention like a leading underscore.

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

Descripción

enhancement

Is your feature request related to a problem? Please describe.
Sometimes we want some features of LabThings affordances (like observability, or saving settings) but we don't want the affordance to be exposed or described over HTTP.

Describe the solution you'd like
A simple, clear way to hide e.g. properties from the Thing Description and HTTP API.

This might be as simple as "anything with a leading underscore is hidden", or might be an additonal argument.

Lenguaje dominante
Python
Estrellas
9
Forks
3
Merge medio
5 d 17 h
PR fusionados (30 d)
1

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 labthings/labthings-fastapi

Todos los issues de labthings/labthings-fastapi

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.