Skip to content

Commit a730173

Browse files
committed
README: use from_env in usage example
1 parent 3ca959c commit a730173

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ import os
1818
from flareio import FlareApiClient
1919

2020

21-
client = FlareApiClient(
22-
api_key=os.environ["FLARE_API_KEY"],
23-
tenant_id=None, # Use my default tenant.
24-
)
21+
client = FlareApiClient.from_env()
2522

2623
resp = client.get("/tokens/test")
2724

0 commit comments

Comments
 (0)