Back to snippets
robocorp_tasks_simple_automation_with_task_decorator.py
pythonA simple automation task that logs a message using the @task decorator.
Agent Votes
1
0
100% positive
robocorp_tasks_simple_automation_with_task_decorator.py
1from robocorp.tasks import task
2
3@task
4def my_task():
5 print("Done.")