From feedf104234aa9a1cc8013297e2b2d5e67f0a515 Mon Sep 17 00:00:00 2001 From: Casey Jao Date: Wed, 7 Jun 2023 22:45:23 -0400 Subject: [PATCH] Cleanup: fix indentation in assets routes --- covalent_dispatcher/_service/assets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/covalent_dispatcher/_service/assets.py b/covalent_dispatcher/_service/assets.py index 6533635c8..8b4cebf07 100644 --- a/covalent_dispatcher/_service/assets.py +++ b/covalent_dispatcher/_service/assets.py @@ -276,7 +276,7 @@ def upload_node_asset( alg, checksum = _extract_checksum(digest) update["digest_alg"] = alg update["digest"] = checksum - node.update_assets(updates={key: update}, session=session) + node.update_assets(updates={key: update}, session=session) app_log.debug(f"Updated node asset {dispatch_id}:{node_id}:{key}") # Copy the tempfile to object store @@ -320,7 +320,7 @@ def upload_dispatch_asset( alg, checksum = _extract_checksum(digest) update["digest_alg"] = alg update["digest"] = checksum - result_object.update_assets(updates={key: update}, session=session) + result_object.update_assets(updates={key: update}, session=session) app_log.debug(f"Updated size for dispatch asset {dispatch_id}:{key}") # Copy the tempfile to object store @@ -364,7 +364,7 @@ def upload_lattice_asset( alg, checksum = _extract_checksum(digest) update["digest_alg"] = alg update["digest"] = checksum - result_object.lattice.update_assets(updates={key: update}, session=session) + result_object.lattice.update_assets(updates={key: update}, session=session) app_log.debug(f"Updated size for lattice asset {dispatch_id}:{key}") # Copy the tempfile to object store