Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Allow affordances to be hidden from HTTP

Aperta
#407 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
fastapi, python
Ambito
api, backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
9
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di labthings/labthings-fastapi

Tutte le issue di labthings/labthings-fastapi

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.