Refactor client initialization to use global client setup in get_client and get_client_creds functions

This commit is contained in:
Nawaz Haider
2026-01-02 12:56:52 +06:00
parent d3b3a2fdb4
commit dbd0c4e28f
+2 -2
View File
@@ -46,11 +46,11 @@ def is_client_ready():
def get_client():
if _client is None:
init_clob_client()
init_global_client()
return _client
def get_client_creds():
if _client_creds is None:
init_clob_client()
init_global_client()
return _client_creds