You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseValueError("data_row_count must be a positive integer.")
960
-
961
958
autogenerate_data_rows=False
962
-
ifdataset_idordataset_nameordata_row_count:
963
-
warnings.warn(
964
-
"Automatic generation of data rows of live model evaluation projects is deprecated. dataset_name_or_id, append_to_existing_dataset, data_row_count will be removed in a future version.",
965
-
DeprecationWarning,
966
-
)
959
+
dataset_name_or_id=None
960
+
append_to_existing_dataset=None
961
+
962
+
ifdataset_idordataset_name:
967
963
autogenerate_data_rows=True
968
964
969
965
ifdataset_id:
970
966
append_to_existing_dataset=True
971
967
dataset_name_or_id=dataset_id
972
-
warnings.warn(
973
-
"Automatic generation of data rows of live model evaluation projects is deprecated. dataset_name_or_id will be removed in a future version.",
974
-
DeprecationWarning,
975
-
)
976
968
elifdataset_name:
977
969
append_to_existing_dataset=False
978
970
dataset_name_or_id=dataset_name
979
-
warnings.warn(
980
-
"Automatic generation of data rows of live model evaluation projects is deprecated. dataset_name_or_id will be removed in a future version.",
raiseValueError("data_row_count must be a positive integer.")
988
979
kwargs["data_row_count"] =data_row_count
980
+
warnings.warn(
981
+
"Automatic generation of data rows of live model evaluation projects is deprecated. dataset_name_or_id, append_to_existing_dataset, data_row_count will be removed in a future version.",
0 commit comments