labthings_fastapi.dependencies

Resources that may be requested using annotated types.

Actions often need to access resources outside of the host Thing, for example invoking actions or accessing properties on other Things or calling methods provided by the server.

Dependencies are a FastAPI concept that is reused in LabThings to allow Actions to request resources in a way that plays nicely with type hints and is easy to intercept for testing.

There is more documentation at Dependencies for how this works within LabThings.

Submodules