Skip to content

Comments

Add application configuration that propagates to Things#261

Open
julianstirling wants to merge 1 commit intomainfrom
app-config
Open

Add application configuration that propagates to Things#261
julianstirling wants to merge 1 commit intomainfrom
app-config

Conversation

@julianstirling
Copy link
Contributor

Add an arbitrary configuration dictionary for downstream applications to use.

Context

In the OpenFlexure Microscope we have configuration specific to our application. We need to intercept the configuration validation and extract our own information. However, there is still no good way to propagate this information to individual Things.

This PR creates a place for an application_configuration, where downstream applications can put any configuration they find useful, and make it available to each Thing in the application.

No validation is performed, validation is left to downstream applications.

@julianstirling julianstirling requested a review from rwb27 February 22, 2026 13:28
@barecheck
Copy link

barecheck bot commented Feb 22, 2026

Barecheck - Code coverage report

Total: 96.44%

Your code coverage diff: 0.02% ▴

Uncovered files and lines
FileLines
src/labthings_fastapi/server/__init__.py196, 357
src/labthings_fastapi/testing.py222
src/labthings_fastapi/thing.py258, 264, 289-291, 323

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant