labthings_fastapi.thing_server_interface

Interface between Thing subclasses and the ThingServer.

Attributes

Params

ReturnType

Exceptions

ThingServerMissingError

The error raised when a ThingServer is no longer available.

Module Contents

labthings_fastapi.thing_server_interface.Params
labthings_fastapi.thing_server_interface.ReturnType
exception labthings_fastapi.thing_server_interface.ThingServerMissingError

Bases: RuntimeError

The error raised when a ThingServer is no longer available.

This error indicates that a ThingServerInterface is still in use even though its underlying ThingServer has been deleted. This is unlikely to happen and usually indicates that the server has been created in an odd way.

Initialize self. See help(type(self)) for accurate signature.