And adjust for new as lt import
This commit is contained in:
parent
840ed7f20e
commit
52a80ef66b
17 changed files with 240 additions and 293 deletions
|
|
@ -1,9 +1,9 @@
|
|||
from . import ThingServer
|
||||
import labthings_fastapi as lt
|
||||
from fastapi import Response
|
||||
from socket import gethostname
|
||||
|
||||
|
||||
def add_v2_endpoints(thing_server: ThingServer):
|
||||
def add_v2_endpoints(thing_server: lt.ThingServer):
|
||||
app = thing_server.app
|
||||
|
||||
# TODO: update openflexure connect to make this unnecessary!!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue