Skip to content

Commit

Permalink
clear code
Browse files Browse the repository at this point in the history
  • Loading branch information
dewmal committed Feb 4, 2025
1 parent 5884a8e commit f23246d
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions bindings/ceylon/examples/task/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,32 +61,6 @@ async def main():
print(f"Task: {task.name}")
print(f"Result: {task_result.output}")

# task2_id: TaskResult = await active_playground.add_and_execute_task(
# name="Reverse Text",
# process_type="reverse",
# input_data={'data': "hello world"},
# wait_for_completion=True
# )
#
# # Execute dependent task
# combine_task: TaskResult = await active_playground.add_and_execute_task(
# name="Combine Results",
# process_type="combine",
# input_data={
# 'data': {
# 'text1': task1_id.output,
# 'text2': task2_id.output
# }
# },
# dependencies={task1_id, task2_id},
# wait_for_completion=True
# )
#
# print(f"\nTask Results:")
# print(f"Task 1 (Uppercase): {task1_id.output}")
# print(f"Task 2 (Reverse): {task2_id.output}")
# print(f"Combined Result: {combine_task.output}")


if __name__ == "__main__":
asyncio.run(main())

0 comments on commit f23246d

Please sign in to comment.