You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,10 +23,12 @@ To get started with Momento you will need a Momento Auth Token. You can get one
23
23
24
24
The Momento Python SDK package is available on pypi: [momento](https://pypi.org/project/momento/).
25
25
26
-
## Usage
26
+
## Prerequisites
27
+
28
+
- A Momento API key is required, you can generate one using the [Momento Console](https://console.gomomento.com/api-keys)
29
+
- A Momento service endpoint is required. You can find a [list of them here](https://docs.momentohq.com/platform/regions)
27
30
28
-
The examples below require an environment variable named `MOMENTO_API_KEY` which must
29
-
be set to a valid Momento API key. You can get one from the [Momento Console](https://console.gomomento.com).
31
+
## Usage
30
32
31
33
Python 3.10 introduced the `match` statement, which allows for [structural pattern matching on objects](https://peps.python.org/pep-0636/#adding-a-ui-matching-objects).
32
34
If you are running python 3.10 or greater, here is a quickstart you can use in your own project:
@@ -83,8 +85,8 @@ Documentation is available on the [Momento Docs website](https://docs.momentohq.
83
85
Working example projects, with all required build configuration files, are available for both Python 3.10 and up
0 commit comments