From 2ebbf65ea36fc0d1f260a509521864b81664080b Mon Sep 17 00:00:00 2001 From: Chris Heaney Date: Mon, 27 Nov 2023 21:04:41 -0500 Subject: [PATCH] add python get user --- source/index.html.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/index.html.md b/source/index.html.md index ba59966..190a19d 100644 --- a/source/index.html.md +++ b/source/index.html.md @@ -819,7 +819,11 @@ perp_market_account = drift_client.get_perp_market_account(market_index); ## Get User ```typescript - const user = await driftClient.getUser(); + const user = driftClient.getUser(); +``` + +```python + user = drift_client.get_user(); ``` | Parameter | Description | Optional | Default |