Allow affordances to be hidden from HTTP
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 65/100
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
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di labthings/labthings-fastapi
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
labthings/labthings-fastapi#405 ·
-
Use `Exception.add_note` Apertadrop-python-version
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
labthings/labthings-fastapi#354 ·
-
Log propagation issue Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
labthings/labthings-fastapi#312 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
labthings/labthings-fastapi#404 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 63/100
labthings/labthings-fastapi#403 · 1 commento ·
Tutte le issue di labthings/labthings-fastapi
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
stephrobert/dsoxlab#238 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
sublimehq/package_control#1780 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
nwg-piotr/nwg-displays#145 ·