Skip to content

Commit 2d4c252

Browse files
committed
Merge branch 'dev' into stephany/jest
2 parents 4ae733e + a327093 commit 2d4c252

File tree

8 files changed

+824
-255
lines changed

8 files changed

+824
-255
lines changed

mlflow-site/src/app/documentation/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ export default function Documentation() {
15671567
>
15681568
https://mlflow.org/docs/latest/rest-api.html
15691569
</a>
1570-
)
1570+
).
15711571
</span>
15721572
<div id='experimentClientHeader' className='methodsHeader2'>
15731573
Experiment Client Methods

mlflow-site/src/app/favicon.ico

-21.1 KB
Binary file not shown.

mlflow-site/src/app/globals.css

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,18 @@ body {
177177
grid-column: 2/5;
178178
grid-row: 3;
179179
width: 100%;
180+
display: flex;
181+
flex-direction: column;
180182
}
181183

182184
.homeButton {
183185
padding: clamp(0.1875rem, 0.830625vw, 0.328125rem);
184186
padding-left: clamp(0.375rem, 1.66125vw, 0.65625rem);
185187
padding-right: clamp(0.375rem, 1.66125vw, 0.65625rem);
188+
padding-top: clamp(0.375rem, 1.66125vw, 0.65625rem);
189+
padding-bottom: clamp(0.375rem, 1.66125vw, 0.65625rem);
186190
border-radius: clamp(0.3125rem, 1.384375vw, 0.546875rem);
187-
font-size: clamp(0.8rem, 3.544vw, 1.05rem);
188-
margin-right: 8px;
191+
font-size: clamp(0.8rem, 3.544vw, 1.6rem);
189192
}
190193

191194
.homeButton:hover {
@@ -194,18 +197,17 @@ body {
194197

195198
.homeButtonDownload {
196199
background-color: rgb(66, 107, 31);
197-
padding-top: clamp(0.375rem, 1.66125vw, 0.65625rem);
198-
padding-bottom: clamp(0.375rem, 1.66125vw, 0.65625rem);
200+
margin-right: 8px;
199201
}
200202

201203
.homeButtonRead {
202204
background-color: rgb(204, 204, 204);
203-
padding-top: clamp(0.375rem, 1.66125vw, 0.65625rem);
204-
padding-bottom: clamp(0.375rem, 1.66125vw, 0.65625rem);
205205
}
206206

207-
.button {
208-
width: 100%;
207+
@media (min-width: 1000px) {
208+
.button {
209+
align-self: center;
210+
}
209211
}
210212

211213
.features {

mlflow/src/workflows/ModelManager.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ class ModelManager {
296296
throw new Error('Model has no version to delete.');
297297
} else {
298298
const version = data[0].version;
299-
this.modelVersion.deleteModelVersion(name, version);
299+
await this.modelVersion.deleteModelVersion(name, version);
300300
return;
301301
}
302302
} catch (error) {
@@ -373,9 +373,12 @@ class ModelManager {
373373
} catch (error) {
374374
if (error instanceof ApiError) {
375375
console.error(`API Error (${error.statusCode}): ${error.message}`);
376+
throw error;
376377
} else {
377378
console.error('An unexpected error occurred:', error);
379+
throw new Error();
378380
}
381+
379382
}
380383
}
381384
}

0 commit comments

Comments
 (0)