Skip to content

Commit ac8307c

Browse files
committed
Add docstring
1 parent 8257733 commit ac8307c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/labthings_fastapi/dependencies/thing_server.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
19
from __future__ import annotations
210
from weakref import WeakSet
311
from typing import TYPE_CHECKING

0 commit comments

Comments
 (0)