labthings_fastapi.dependencies ============================== .. py:module:: labthings_fastapi.dependencies .. autoapi-nested-parse:: Resources that may be requested using annotated types. :ref:`actions` often need to access resources outside of the host `.Thing`\ , for example invoking actions or accessing properties on other `.Thing`\ s or calling methods provided by the server. :ref:`dependencies` are a `FastAPI concept`_ that is reused in LabThings to allow :ref:`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 :ref:`dependencies` for how this works within LabThings. .. _`FastAPI concept`: https://fastapi.tiangolo.com/tutorial/dependencies/ Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/labthings_fastapi/dependencies/blocking_portal/index /autoapi/labthings_fastapi/dependencies/invocation/index /autoapi/labthings_fastapi/dependencies/metadata/index /autoapi/labthings_fastapi/dependencies/raw_thing/index /autoapi/labthings_fastapi/dependencies/thing/index /autoapi/labthings_fastapi/dependencies/thing_server/index