Skip to content

Commit

Permalink
docs: add a note about the use of Annotated, which was only added in 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Dec 20, 2023
1 parent e35e034 commit 0b825b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ To run your bot against a live network, this SDK includes a simple runner you ca
$ silverback run "example:app" --network :mainnet:alchemy
```

**NOTE**: The example is designed to work with Python 3.9+, and we suggest using 3.11+ for speed.

## Docker Usage

```sh
Expand Down
2 changes: 1 addition & 1 deletion example.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Annotated
from typing import Annotated # NOTE: Only Python 3.9+

from ape import chain
from ape.api import BlockAPI
Expand Down

0 comments on commit 0b825b5

Please sign in to comment.