added pre-commit
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user