added pre-commit

This commit is contained in:
2023-10-17 09:29:53 -04:00
parent 2f40aef212
commit 3b32187ba9
5 changed files with 43 additions and 26 deletions

View File

@@ -68,7 +68,7 @@ def update_instance_table(
if tag["Key"] == "Name":
name = tag["Value"]
table.add_rows({"name": name, "status": instance.state["Name"]})
log.info("Table updated")
log.debug("Table updated")info
def nicegui_ui() -> None:
@@ -92,9 +92,11 @@ def nicegui_ui() -> None:
15, lambda: update_instance_table(ec2_resource, container, columns)
)
label = ui.label()
ui.slider(min=5, max=120, step=5, value=15).bind_value_to(
timer, "interval"
).bind_value_to(label, "text")
slider = (
ui.slider(min=5, max=120, step=5, value=15)
.bind_value_to(timer, "interval")
.bind_value_to(label, "text")
)
ui.run()