Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Allow affordances to be hidden from HTTP

Open
#407 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
fastapi, python
Domain
api, backend

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
9
Forks
4
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from labthings/labthings-fastapi

All issues in labthings/labthings-fastapi

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.