@@ -197,7 +197,7 @@ def get_runs(
197197 start_index : pydantic .NonNegativeInt = 0 ,
198198 show_shared : bool = True ,
199199 sort_by_columns : list [tuple [str , bool ]] | None = None ,
200- ) -> DataFrame | Generator [tuple [str , Run ]] | None :
200+ ) -> DataFrame | Generator [tuple [str , Run ]] | dict [ str , object ] | None :
201201 """Retrieve all runs matching filters.
202202
203203 Parameters
@@ -226,8 +226,9 @@ def get_runs(
226226 output_format : Literal['dict', objects', 'dataframe'], optional
227227 the structure of the response
228228 * dict - dictionary of values.
229- * objects - a dictionary of objects (default).
229+ * objects - a generator of (ID, object) pairs (default).
230230 * dataframe - a dataframe (Pandas must be installed).
231+ use of the generator is recommended.
231232 count_limit : int, optional
232233 maximum number of entries to return. Default is 100.
233234 start_index : int, optional
@@ -392,6 +393,7 @@ def delete_runs(
392393 def delete_folder (
393394 self ,
394395 folder_path : typing .Annotated [str , pydantic .Field (pattern = FOLDER_REGEX )],
396+ * ,
395397 recursive : bool = False ,
396398 remove_runs : bool = False ,
397399 allow_missing : bool = False ,
@@ -628,7 +630,8 @@ def get_artifacts_as_files(
628630 if there was a failure retrieving artifacts from the server
629631 """
630632 _artifacts : Generator [tuple [str , Artifact ]] = Artifact .from_run (
631- run_id = run_id , category = category
633+ run_id = run_id ,
634+ category = category ,
632635 )
633636
634637 with ThreadPoolExecutor (
0 commit comments