@@ -54,7 +54,7 @@ def get_export_stream(self, options=None):
5454 Return a stream of the exported project
5555 You need to close the stream after download. Failure to do so will result in the DSSClient becoming unusable.
5656
57- :param dict options: Dictionary of export options. The following options are available:
57+ :param dict options: Dictionary of export options (defaults to `{}`) . The following options are available:
5858
5959 * exportUploads (boolean): Exports the data of Uploaded datasets - default False
6060 * exportManagedFS (boolean): Exports the data of managed Filesystem datasets - default False
@@ -80,6 +80,18 @@ def export_to_file(self, path, options=None):
8080 Export the project to a file
8181
8282 :param str path: the path of the file in which the exported project should be saved
83+ :param dict options: Dictionary of export options (defaults to `{}`). The following options are available:
84+
85+ * exportUploads (boolean): Exports the data of Uploaded datasets - default False
86+ * exportManagedFS (boolean): Exports the data of managed Filesystem datasets - default False
87+ * exportAnalysisModels (boolean): Exports the models trained in analysis - default False
88+ * exportSavedModels (boolean): Exports the models trained in saved models - default False
89+ * exportManagedFolders (boolean): Exports the data of managed folders - default False
90+ * exportAllInputDatasets (boolean): Exports the data of all input datasets - default False
91+ * exportAllDatasets (boolean): Exports the data of all datasets - default False
92+ * exportAllInputManagedFolders (boolean): Exports the data of all input managed folders - default False
93+ * exportGitRepositoy (boolean): Exports the Git repository history - default False
94+ * exportInsightsData (boolean): Exports the data of static insights - default False
8395 """
8496 if options is None :
8597 options = {}
@@ -114,7 +126,7 @@ def duplicate(self, target_project_key,
114126 :param bool export_saved_models:
115127 :param bool export_git_repository:
116128 :param bool export_insights_data:
117- :param dict remapping: dict of connections to be remapped for the new project
129+ :param dict remapping: dict of connections to be remapped for the new project (defaults to `{}`)
118130 :param target_project_folder: the project folder where to put the duplicated project
119131 :type target_project_folder: A :class:`dataikuapi.dss.projectfolder.DSSProjectFolder
120132 :returns: A dict containing the original and duplicated project's keys
@@ -230,9 +242,9 @@ def create_dataset(self, dataset_name, type,
230242
231243 :param string dataset_name: the name for the new dataset
232244 :param string type: the type of the dataset
233- :param dict params: the parameters for the type, as a JSON object
245+ :param dict params: the parameters for the type, as a JSON object (defaults to `{}`)
234246 :param string formatType: an optional format to create the dataset with (only for file-oriented datasets)
235- :param string formatParams: the parameters to the format, as a JSON object (only for file-oriented datasets)
247+ :param dict formatParams: the parameters to the format, as a JSON object (only for file-oriented datasets, default to empty )
236248
237249 Returns:
238250 A :class:`dataikuapi.dss.dataset.DSSDataset` dataset handle
@@ -692,8 +704,8 @@ def create_scenario(self, scenario_name, type, definition=None):
692704 :param str scenario_name: The name for the new scenario. This does not need to be unique
693705 (although this is strongly recommended)
694706 :param str type: The type of the scenario. MUst be one of 'step_based' or 'custom_python'
695- :param object definition: the JSON definition of the scenario. Use ``get_definition(with_status=False)`` on an
696- existing ``DSSScenario`` object in order to get a sample definition object
707+ :param dict definition: the JSON definition of the scenario. Use ``get_definition(with_status=False)`` on an
708+ existing ``DSSScenario`` object in order to get a sample definition object (defaults to `{}`)
697709
698710 :returns: a :class:`.scenario.DSSScenario` handle to interact with the newly-created scenario
699711 """
@@ -804,7 +816,7 @@ def get_tags(self):
804816 def set_tags (self , tags = None ):
805817 """
806818 Set the tags of this project.
807- @ param obj : must be a modified version of the object returned by list_tags
819+ : param dict tags : must be a modified version of the object returned by list_tags (defaults to `{}`)
808820 """
809821 if tags is None :
810822 tags = {}
0 commit comments