Skip to main content

SetClient

No overview available.

def SetClient(
c: Client
)

Sets the global client instance if it has not been set already. This function ensures that the client is initialized only once, preventing multiple client instances from being created.

Parameters

NameTypeDescription
cClientThe client instance to be set as the global client.