# {py:mod}`labthings_fastapi.dependencies.thing_server` ```{py:module} labthings_fastapi.dependencies.thing_server ``` ```{autodoc2-docstring} labthings_fastapi.dependencies.thing_server :allowtitles: ``` ## Module Contents ### Functions ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`find_thing_server ` - ```{autodoc2-docstring} labthings_fastapi.dependencies.thing_server.find_thing_server :summary: ``` * - {py:obj}`thing_server_from_request ` - ```{autodoc2-docstring} labthings_fastapi.dependencies.thing_server.thing_server_from_request :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`_thing_servers ` - ```{autodoc2-docstring} labthings_fastapi.dependencies.thing_server._thing_servers :summary: ``` ```` ### API ````{py:data} _thing_servers :canonical: labthings_fastapi.dependencies.thing_server._thing_servers :type: weakref.WeakSet[labthings_fastapi.server.ThingServer] :value: > 'WeakSet(...)' ```{autodoc2-docstring} labthings_fastapi.dependencies.thing_server._thing_servers ``` ```` ````{py:function} find_thing_server(app: fastapi.FastAPI) -> labthings_fastapi.server.ThingServer :canonical: labthings_fastapi.dependencies.thing_server.find_thing_server ```{autodoc2-docstring} labthings_fastapi.dependencies.thing_server.find_thing_server ``` ```` ````{py:function} thing_server_from_request(request: fastapi.Request) -> labthings_fastapi.server.ThingServer :canonical: labthings_fastapi.dependencies.thing_server.thing_server_from_request ```{autodoc2-docstring} labthings_fastapi.dependencies.thing_server.thing_server_from_request ``` ````