mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-05 21:20:40 +02:00
updating comments
This commit is contained in:
parent
27b430333a
commit
43e0c72018
@ -100,7 +100,6 @@ class WebAPI:
|
|||||||
)
|
)
|
||||||
app.mount("/ws", self.__sio_app)
|
app.mount("/ws", self.__sio_app)
|
||||||
|
|
||||||
# @app.get("/version", include_in_schema=False)
|
|
||||||
@app.get("/version")
|
@app.get("/version")
|
||||||
def version() -> str:
|
def version() -> str:
|
||||||
return __version__
|
return __version__
|
||||||
@ -117,7 +116,7 @@ class WebAPI:
|
|||||||
def service_properties() -> dict[str, Any]:
|
def service_properties() -> dict[str, Any]:
|
||||||
return self.service.serialize()
|
return self.service.serialize()
|
||||||
|
|
||||||
# user css to add custom stylings to the frontend
|
# exposing custom.css file provided by user
|
||||||
if self.css is not None:
|
if self.css is not None:
|
||||||
|
|
||||||
@app.get("/custom.css")
|
@app.get("/custom.css")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user