@@ -41,13 +41,11 @@ class Kili:
4141
4242    legacy_client : KiliLegacy 
4343
44-     # pylint: disable=too-many-arguments 
4544    def  __init__ (
4645        self ,
4746        api_key : Optional [str ] =  None ,
4847        api_endpoint : Optional [str ] =  None ,
4948        verify : Optional [Union [bool , str ]] =  None ,
50-         client_name : GraphQLClientName  =  GraphQLClientName .SDK ,
5149        graphql_client_params : Optional [Dict [str , object ]] =  None ,
5250    ) ->  None :
5351        """Initialize Kili client (domain mode). 
@@ -73,8 +71,6 @@ def __init__(
7371                certificates, which will make your application vulnerable to 
7472                man-in-the-middle (MitM) attacks. Setting verify to ``False`` 
7573                may be useful during local development or testing. 
76-             client_name: For internal use only. 
77-                 Define the name of the graphQL client whith which graphQL calls will be sent. 
7874            graphql_client_params: Parameters to pass to the graphQL client. 
7975
8076        Returns: 
@@ -90,11 +86,15 @@ def __init__(
9086            kili.projects.list()  # domain methods 
9187            ``` 
9288        """ 
89+         warnings .warn (
90+             "Client domain api is still a work in progress. Method names and return type will evolve." ,
91+             stacklevel = 1 ,
92+         )
9393        self .legacy_client  =  KiliLegacy (
9494            api_key ,
9595            api_endpoint ,
9696            verify ,
97-             client_name ,
97+             GraphQLClientName . SDK_DOMAIN ,
9898            graphql_client_params ,
9999        )
100100
0 commit comments