Skip to content

[Feature Request] Create sample for calling Python Client from a sync method #231

@pvsone

Description

@pvsone

Is your feature request related to a problem? Please describe.

There are many Temporal users that have existing Python code bases that are only sync, and for these users learning how to invoke the Temporal Client is toil, as they may not be fully versed in asyncio and the event loop. Having a sample that provides a snippet on how to use the Temporal Client from an existing sync method would be very helpful for these folks as part of the getting started experience.

Describe the solution you'd like

I'd like a hello world style sample that creates a client and then invokes client.start_workflow or client.execute_workflow from within a synchronous method

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions