From 2e03a3e0e457d5cdc8e3137c337bb68a4fbaa802 Mon Sep 17 00:00:00 2001 From: khushal Date: Thu, 26 Dec 2024 10:02:24 +0530 Subject: [PATCH] (20241226) Zerodha Auth Callback Bug Fix. --- utils_v2/trading/zerodha_kite/models/auth_tokens.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/utils_v2/trading/zerodha_kite/models/auth_tokens.py b/utils_v2/trading/zerodha_kite/models/auth_tokens.py index a22ae1a..216b609 100644 --- a/utils_v2/trading/zerodha_kite/models/auth_tokens.py +++ b/utils_v2/trading/zerodha_kite/models/auth_tokens.py @@ -92,6 +92,12 @@ class ZerodhaKiteAuthTokens(BaseModel): examples = ["individual/ind_with_nom"] ) + userId: str = Field( + description = "the id of the user as assigned by zerodha", + alias = "user_id", + examples = ["ABC123"] + ) + email: str | None = Field( description = "the email id of the user", default = None,