Skip to content

Commit d52d027

Browse files
author
boonhapus
committed
allow async imports
1 parent 8024ec9 commit d52d027

File tree

1 file changed

+3
-5
lines changed
  • cs_tools/cli/tools/scriptability

1 file changed

+3
-5
lines changed

cs_tools/cli/tools/scriptability/app.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -356,15 +356,13 @@ def deploy(
356356
)
357357
return 0
358358

359-
# Silence the cs_tools metadata workflow logger since we've asked the User if they want logged feedback.
360-
logging.getLogger("cs_tools.api.workflows.metadata").setLevel(logging.CRITICAL)
361-
362359
try:
363360
c = workflows.metadata.tml_import(
364361
tmls=list(tmls.values()),
365-
use_async_endpoint=use_async_endpoint,
366-
skip_diff_check=skip_diff_check,
367362
policy=deploy_policy,
363+
use_async_endpoint=use_async_endpoint,
364+
wait_for_completion=use_async_endpoint,
365+
log_errors=False,
368366
http=ts.api,
369367
)
370368
_ = utils.run_sync(c)

0 commit comments

Comments
 (0)