Skip to content

Commit

Permalink
remove verbose log from remote code execution
Browse files Browse the repository at this point in the history
  • Loading branch information
yasithdev committed Dec 18, 2024
1 parent 3d2525e commit 7fc242a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ def execute_py(self, libraries: list[str], code: str, agent_ref: str) -> str | N
return response
time.sleep(1)
except Exception as e:
print("[av] Remote execution failed! {e}")
print(f"[av] Remote execution failed! {e}")
return None

def get_available_runtimes(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,6 @@ def execute(self, task: Task) -> None:
def execute_py(self, libraries: list[str], code: str, task: Task) -> None:
assert task.ref is not None
assert task.agent_ref is not None
print(f"* Packages: {libraries}")
print(f"* Code:\n{code}")

from .airavata import AiravataOperator
av = AiravataOperator(context.access_token)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "airavata-python-sdk-test"
version = "0.0.11"
version = "0.0.11.post2"
description = "Apache Airavata Python SDK"
readme = "README.md"
license = { text = "Apache License 2.0" }
Expand Down

0 comments on commit 7fc242a

Please sign in to comment.