Skip to content

Commit

Permalink
Merge branch 'main' into search-attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
cretz authored Jun 10, 2022
2 parents 140df7f + 2d4405e commit 182b195
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -601,13 +601,13 @@ poetry install --no-root

Now perform the release build:

> This will take a while because Rust will compile the core project in release mode (see [Local SDK development
environment](#local-sdk-development-environment) for the quicker approach to local development).

```bash
poetry build
```

This will take a while because Rust will compile the core project in release mode (see "Local SDK development
environment" for the quicker approach to local development).

The compiled wheel doesn't have the exact right tags yet for use, so run this script to fix it:

```bash
Expand Down Expand Up @@ -653,8 +653,14 @@ if __name__ == "__main__":
asyncio.run(main())
```

Assuming there is a [local Temporal server](https://docs.temporal.io/docs/server/quick-install/) running, executing the
file with `python` (or `python3` if necessary) will give:
Assuming there is a [local Temporal server](https://docs.temporal.io/docs/server/quick-install/) running, execute the
file with `python` (or `python3` if necessary):

```bash
python example.py
```

It should output:

Result: Hello, Temporal!

Expand Down Expand Up @@ -705,4 +711,4 @@ poe test
rarely in library code for some Python common items (e.g. `dataclass` or `partial`), but not allowed to do this for
any `temporalio` packages or any classes/functions that aren't clear when unqualified.
* We allow relative imports for private packages
* We allow `@staticmethod`
* We allow `@staticmethod`

0 comments on commit 182b195

Please sign in to comment.