Skip to content

Commit 89e2d6a

Browse files
committed
adjusts after merge
1 parent 573a912 commit 89e2d6a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

roboflow/core/version.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def download(self, model_format=None, location=None, overwrite: bool = False):
244244

245245
return Dataset(self.name, self.version, model_format, os.path.abspath(location))
246246

247-
def export(self, model_format=None) -> str | None:
247+
def export(self, model_format=None) -> bool | None:
248248
"""
249249
Ask the Roboflow API to generate a version's dataset in a given format so that it can be downloaded via the `download()` method.
250250
@@ -254,7 +254,7 @@ def export(self, model_format=None) -> str | None:
254254
model_format (str): A format to use for downloading
255255
256256
Returns:
257-
The URL of the exported dataset.
257+
True if the export was successful, RuntimeError if the export failed
258258
259259
Raises:
260260
RuntimeError: If the Roboflow API returns an error with a helpful JSON body
@@ -325,7 +325,6 @@ def train(self, speed=None, model_type=None, checkpoint=None, plot_in_notebook=F
325325
payload_model_type = model_type if model_type else None
326326

327327
write_line("Reaching out to Roboflow to start training...")
328-
print(data)
329328

330329
rfapi.start_version_training(
331330
api_key=self.__api_key,

0 commit comments

Comments
 (0)