Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmkenney committed Dec 1, 2023
1 parent 8b34d97 commit 9f9de11
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions alchemiscale/interface/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,14 @@ def create_network(
def post():
data = dict(network=network.to_dict(), scope=scope.dict())
return self._post_resource("/networks", data, compress=compress)

if visualize:
from rich.progress import Progress

with Progress(*self._rich_waiting_columns(), transient=False) as progress:
task = progress.add_task(f"Submitting [bold]'{sk}'[/bold]...", total=None)
task = progress.add_task(
f"Submitting [bold]'{sk}'[/bold]...", total=None
)

scoped_key = post()
progress.start_task(task)
Expand Down

0 comments on commit 9f9de11

Please sign in to comment.