We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8257733 commit ac8307cCopy full SHA for ac8307c
src/labthings_fastapi/dependencies/thing_server.py
@@ -1,3 +1,11 @@
1
+"""
2
+Retrieve the ThingServer object
3
+
4
+This module provides a function that will retrieve the ThingServer
5
+based on the `Request` object. It may be used as a dependency with:
6
+`Annotated[ThingServer, Depends(thing_server_from_request)]`.
7
8
9
from __future__ import annotations
10
from weakref import WeakSet
11
from typing import TYPE_CHECKING
0 commit comments