From ecc614a1c46580fb9f57417432058d58202ec6b9 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Thu, 18 Apr 2024 13:23:42 +0800 Subject: [PATCH] feat: Updated sdks/python/julep/managers/base.py (#263) Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com> --- sdks/python/julep/managers/base.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sdks/python/julep/managers/base.py b/sdks/python/julep/managers/base.py index 4262d4621..7a4ffbb06 100644 --- a/sdks/python/julep/managers/base.py +++ b/sdks/python/julep/managers/base.py @@ -6,15 +6,13 @@ # Purpose: Base class for all managers class BaseManager: """ - A class that serves as a base manager for working with different API clients. + A class that serves as a base manager for working with different API clients. This class is responsible for abstracting the complexities of interacting with various API clients, providing a unified interface for higher-level components. Attributes: - api_client (Union[JulepApi, AsyncJulepApi]): A client instance for communicating with an API. - It can either be an instance of JulepApi for synchronous operations or - AsyncJulepApi for asynchronous operations. + api_client (Union[JulepApi, AsyncJulepApi]): A client instance for communicating with an API. This attribute is essential for enabling the class to perform API operations, whether they are synchronous or asynchronous. Args: - api_client (Union[JulepApi, AsyncJulepApi]): The API client that is used for making API calls. + api_client (Union[JulepApi, AsyncJulepApi]): The API client that is used for making API calls. It is crucial for the operation of this class, allowing it to interact with the API effectively. """ api_client: Union[JulepApi, AsyncJulepApi]