File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 82
82
_WORK_REQUEST_INTERVAL_IN_SEC = 3
83
83
84
84
85
- class ModelWithActiveDeploymentError (Exception ): # pragma: no cover
85
+ class ModelWithActiveDeploymentError (Exception ): # pragma: no cover
86
86
pass
87
87
88
88
89
- class ModelArtifactSizeError (Exception ): # pragma: no cover
89
+ class ModelArtifactSizeError (Exception ): # pragma: no cover
90
90
def __init__ (self , max_artifact_size : str ):
91
91
super ().__init__ (
92
92
f"The model artifacts size is greater than `{ max_artifact_size } `. "
@@ -391,7 +391,6 @@ def show_in_notebook(self, display_format: str = "dataframe") -> None:
391
391
Nothing.
392
392
"""
393
393
if display_format == "dataframe" :
394
-
395
394
from IPython .core .display import display
396
395
397
396
display (self .to_dataframe ())
@@ -1560,9 +1559,9 @@ def _wait_for_work_request(
1560
1559
if work_request_logs :
1561
1560
new_work_request_logs = work_request_logs [i :]
1562
1561
1563
- for wr_item in new_work_request_logs :
1564
- progress .update (wr_item .message )
1565
- i += 1
1562
+ for wr_item in new_work_request_logs :
1563
+ progress .update (wr_item .message )
1564
+ i += 1
1566
1565
1567
1566
if work_request .data .status in STOP_STATE :
1568
1567
if work_request .data .status != WorkRequest .STATUS_SUCCEEDED :
You can’t perform that action at this time.
0 commit comments