Python SDK: Diving into Workers and Workflows
The text discusses the implementation of workflows and workers using Python SDK for Temporal, an open-source, cloud-native microservices orchestration platform. It provides a detailed breakdown of the code structure in two files - workflow.py and worker.py. The workflow.py file contains the definition of a workflow class that calls activities, while the worker.py file sets up a worker to execute tasks on the queue. The text also explains how to connect to Temporal Server using Client and run the workflow using execute_workflow method. It concludes with an example of taking input from the console and passing it to the workflow for processing.
Company
Temporal
Date published
March 7, 2023
Author(s)
Matt Bernier
Word count
2051
Language
English
Hacker News points
None found.