We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1f679d commit d6f6130Copy full SHA for d6f6130
src/labthings_fastapi/server/__init__.py
@@ -117,9 +117,7 @@ def __init__(
117
self._attach_things_to_server()
118
119
@classmethod
120
- def from_config(cls,
121
- config: ThingServerConfig,
122
- debug: bool = False) -> Self:
+ def from_config(cls, config: ThingServerConfig, debug: bool = False) -> Self:
123
r"""Create a ThingServer from a configuration model.
124
125
This is equivalent to ``ThingServer(**dict(config))``\ .
0 commit comments