Example of how to extend Tiled with a custom route
Clone this gist and enter the directory.
Install Tiled and and, optionally, a HTTP client to test with.
pip install tiled[all] httpie
|from ophyd.sim import Signal|
|from ophyd import Component, Device|
|a = Component(Signal, value=0)|
|b = Component(Signal, value=1)|
|def set(self, a, b):|
http :8000/data. This should return the list of numbers from the server.
Question: Do the middlewares get run in the order that they are added in
middlware.py or in the reverse order?
Install podman. https://podman.io/getting-started/installation
pip install podman-compose
Clone or copy
config.yml from this gist into a directory.
This is a draft of a guide for migrating from Databroker v1.x to Databroker v2.x (currently in prerelease). The data storage does not change; only the way it is accessed changes. It is possible to run Databroker v1.x and 2.x against the same MongoDB concurrently. Databroker 1.x was effectively a plugin to Intake. Databroker 2.x refactors Databroker as a plugin to Tiled, and drops any depenedency on Intake.