Remove a load more /names/
This commit is contained in:
parent
e7f669cb56
commit
9ef417971f
15 changed files with 39 additions and 41 deletions
|
|
@ -731,7 +731,7 @@ class BaseCamera(lt.Thing):
|
|||
return {}
|
||||
|
||||
|
||||
CameraDependency = lt.deps.direct_thing_client_dependency(BaseCamera, "/camera/")
|
||||
CameraDependency = lt.deps.direct_thing_client_dependency(BaseCamera, "camera")
|
||||
RawCameraDependency = lt.deps.raw_thing_dependency(BaseCamera)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -42,9 +42,9 @@ T = TypeVar("T")
|
|||
P = ParamSpec("P")
|
||||
|
||||
CSMDep = lt.deps.direct_thing_client_dependency(
|
||||
CameraStageMapper, "/camera_stage_mapping/"
|
||||
CameraStageMapper, "camera_stage_mapping"
|
||||
)
|
||||
AutofocusDep = lt.deps.direct_thing_client_dependency(AutofocusThing, "/autofocus/")
|
||||
AutofocusDep = lt.deps.direct_thing_client_dependency(AutofocusThing, "autofocus")
|
||||
|
||||
|
||||
class ScanListInfo(BaseModel):
|
||||
|
|
|
|||
|
|
@ -228,4 +228,4 @@ class BaseStage(lt.Thing):
|
|||
self.move_absolute(cancel=cancel, x=xyz_pos[0], y=xyz_pos[1], z=xyz_pos[2])
|
||||
|
||||
|
||||
StageDependency = lt.deps.direct_thing_client_dependency(BaseStage, "/stage/")
|
||||
StageDependency = lt.deps.direct_thing_client_dependency(BaseStage, "stage")
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@ from .camera_stage_mapping import CameraStageMapper
|
|||
from .stage import StageDependency as StageDep
|
||||
|
||||
CSMDep = lt.deps.direct_thing_client_dependency(
|
||||
CameraStageMapper, "/camera_stage_mapping/"
|
||||
CameraStageMapper, "camera_stage_mapping"
|
||||
)
|
||||
AutofocusDep = lt.deps.direct_thing_client_dependency(AutofocusThing, "/autofocus/")
|
||||
AutofocusDep = lt.deps.direct_thing_client_dependency(AutofocusThing, "autofocus")
|
||||
|
||||
## Size of movement in percentage of field of view
|
||||
SMALL_STEP = 20
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue