/samples-python

Samples for working with the Temporal Python SDK

Primary LanguagePythonMIT LicenseMIT

Temporal Python SDK Samples

This is the set of Python samples for the Python SDK.

Usage

Prerequisites:

With this repository cloned, run the following at the root of the directory:

poetry install

That loads all required dependencies. Then to run a sample, usually you just run it in Python. For example:

poetry run python hello/hello_activity.py

Some examples require extra dependencies. See each sample's directory for specific instructions.

Samples

Test

Running the tests requires poe to be installed.

python -m pip install poethepoet

Once you have poe installed you can run:

poe test