samples-python icon indicating copy to clipboard operation
samples-python copied to clipboard

Samples for working with the Temporal Python SDK

Results 49 samples-python issues
Sort by recently updated
recently updated
newest added

### Is your feature request related to a problem? Please describe. Given this single-file pattern of running a Workflow inside a Worker: https://github.com/temporalio/samples-python/blob/7b3944926c3743bc0dcb3b781d8cc64e0330bac4/hello/hello_activity.py#L47-L64 there is potential (and one past instance...

enhancement

### Is your feature request related to a problem? Please describe. Right now in `hello_activity_threaded.py` and `hello_activity_multiprocess.py` we are not properly shutting down the executors and we should be.

enhancement

### Describe the solution you'd like Take a getting-started/simple LangChain example and show how Temporal can bring value in orchestrating it

enhancement

### Is your feature request related to a problem? Please describe. Initially we hoped the browse-ability of having several files right next to each other like normal Python scripts showing...

enhancement

### Describe the solution you'd like Update Prometheus sample showing use of metric_meter in workflow/activity

enhancement

### Is your feature request related to a problem? Please describe. I would love to have a sample that shows how to do workflow->workflow interaction with a client, so :...

enhancement

### Describe the solution you'd like Rename sample `pydantic_converter` to `pydanticv1_converter` (and tests/packages/dep-group/etc) and make a new `pydantic_converter` sample that works with v2

enhancement

Vulnerable Library - go.temporal.io/sdk-v1.14.0 Path to dependency file: /activity_worker/go_workflow/go.mod Path to vulnerable library: /go/pkg/mod/cache/download/golang.org/x/net/@v/v0.7.0.mod Found in HEAD commit: ac44173063e14aaf5e2fd3eca9caf9197f4d6dd5 ## Vulnerabilities | CVE | Severity | CVSS | Dependency |...

Mend: dependency security vulnerability

### Describe the solution you'd like Show how to use a metric buffer. A decent example may forward metrics to https://github.com/prometheus/client_python, but we should encourage people to use the direct...

enhancement

## What was changed Replaces Black with Ruff formatter. Recently, ruff added the ability to format: https://docs.astral.sh/ruff/formatter/ ## Known deviations: https://docs.astral.sh/ruff/formatter/black/#newlines-are-inserted-after-all-class-docstrings ## Removed isort: Added a skip isort in the...