@@ -1634,12 +1634,11 @@ def get_mlflow_extension(self):
16341634 ########################################################
16351635 # Code studios
16361636 ########################################################
1637- def list_code_studio_objects (self , as_type = "listitems" ):
1637+ def list_code_studios (self , as_type = "listitems" ):
16381638 """
16391639 List the code studio objects in this project
16401640
1641- Returns:
1642- the list of the code studio objects, each one as a JSON object
1641+ :returns: the list of the code studio objects, each one as a JSON object
16431642 """
16441643 items = self .client ._perform_json (
16451644 "GET" , "/projects/%s/code-studios/" % self .project_key )
@@ -1650,28 +1649,24 @@ def list_code_studio_objects(self, as_type="listitems"):
16501649 else :
16511650 raise ValueError ("Unknown as_type" )
16521651
1653- def get_code_studio_object (self , code_studio_object_id ):
1652+ def get_code_studio (self , code_studio_object_id ):
16541653 """
16551654 Get a handle to interact with a specific code studio object
16561655
1657- Args:
1658- code_studio_object_id: the identifier of the desired code studio object
1656+ :param str code_studio_object_id: the identifier of the desired code studio object
16591657
1660- Returns:
1661- A :class:`dataikuapi.dss.codestudio.DSSCodeStudioObject` code studio object handle
1658+ :returns: A :class:`dataikuapi.dss.codestudio.DSSCodeStudioObject` code studio object handle
16621659 """
16631660 return DSSCodeStudioObject (self .client , self .project_key , code_studio_object_id )
16641661
1665- def create_code_studio_object (self , name , template_id ):
1662+ def create_code_studio (self , name , template_id ):
16661663 """
16671664 Create a new code studio object in the project, and return a handle to interact with it
16681665
1669- Args:
1670- name: the name of the code studio object
1671- template_id: the identifier of a code studio template
1666+ :param str name: the name of the code studio object
1667+ :param str template_id: the identifier of a code studio template
16721668
1673- Returns:
1674- A :class:`dataikuapi.dss.codestudio.DSSCodeStudioObject` code studio object handle
1669+ :returns: A :class:`dataikuapi.dss.codestudio.DSSCodeStudioObject` code studio object handle
16751670 """
16761671 obj = {
16771672 "name" : name ,
0 commit comments