Blackened
This commit is contained in:
parent
2574e38b47
commit
c85bdcc91d
10 changed files with 49 additions and 30 deletions
|
|
@ -82,17 +82,10 @@ for plugin in find_plugins(USER_PLUGINS_PATH):
|
|||
# Attach captures resources
|
||||
labthing.add_resource(views.CaptureList, f"/captures")
|
||||
labthing.register_property(views.CaptureList)
|
||||
labthing.add_resource(
|
||||
views.CaptureResource, f"/captures/<id>"
|
||||
)
|
||||
labthing.add_resource(
|
||||
views.CaptureDownload,
|
||||
f"/captures/<id>/download/<filename>",
|
||||
)
|
||||
labthing.add_resource(views.CaptureResource, f"/captures/<id>")
|
||||
labthing.add_resource(views.CaptureDownload, f"/captures/<id>/download/<filename>")
|
||||
labthing.add_resource(views.CaptureTags, f"/captures/<id>/tags")
|
||||
labthing.add_resource(
|
||||
views.CaptureMetadata, f"/captures/<id>/metadata"
|
||||
)
|
||||
labthing.add_resource(views.CaptureMetadata, f"/captures/<id>/metadata")
|
||||
|
||||
# Attach settings and status resources
|
||||
labthing.add_resource(views.SettingsProperty, f"/settings")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue