|
1273 | 1273 | "billingMonth": "2019-04", |
1274 | 1274 | }, |
1275 | 1275 | } |
| 1276 | + |
| 1277 | + |
| 1278 | +LIST_PROJECTS_RESPONSE = { |
| 1279 | + "data": [ |
| 1280 | + { |
| 1281 | + "name": "test_project", |
| 1282 | + "handle": "prq70zy79", |
| 1283 | + "dtCreated": "2019-03-18T13:24:46.666Z", |
| 1284 | + "dtDeleted": None, |
| 1285 | + "lastJobSeqNum": 2, |
| 1286 | + "repoNodeId": None, |
| 1287 | + "repoName": None, |
| 1288 | + "repoUrl": None, |
| 1289 | + "experiments": { |
| 1290 | + "data": [ |
| 1291 | + { |
| 1292 | + "dtCreated": "2019-04-05T15:10:55.692629+00:00", |
| 1293 | + "dtDeleted": None, |
| 1294 | + "dtFinished": None, |
| 1295 | + "dtModified": "2019-04-05T15:10:55.692629+00:00", |
| 1296 | + "dtProvisioningFinished": None, |
| 1297 | + "dtProvisioningStarted": None, |
| 1298 | + "dtStarted": None, |
| 1299 | + "dtTeardownFinished": None, |
| 1300 | + "dtTeardownStarted": None, |
| 1301 | + "experimentError": None, |
| 1302 | + "experimentTemplateHistoryId": 22159, |
| 1303 | + "experimentTemplateId": 60, |
| 1304 | + "experimentTypeId": 1, |
| 1305 | + "handle": "estgcoux8igx32", |
| 1306 | + "id": 22123, |
| 1307 | + "projectHandle": "prq70zy79", |
| 1308 | + "projectId": 612, |
| 1309 | + "started_by_user_id": 1655, |
| 1310 | + "state": 1, |
| 1311 | + "templateHistory": { |
| 1312 | + "dtCreated": "2019-04-05T15:10:54.923725+00:00", |
| 1313 | + "dtDeleted": None, |
| 1314 | + "experimentTemplateId": 60, |
| 1315 | + "id": 22159, |
| 1316 | + "params": { |
| 1317 | + "is_preemptible": False, |
| 1318 | + "name": "dsfads", |
| 1319 | + "ports": 5000, |
| 1320 | + "project_handle": "prq70zy79", |
| 1321 | + "worker_command": "sadas", |
| 1322 | + "worker_container": "asd", |
| 1323 | + "worker_machine_type": "C2", |
| 1324 | + "worker_use_dockerfile": False, |
| 1325 | + "workspaceUrl": "example.com" |
| 1326 | + }, |
| 1327 | + "triggerEvent": None, |
| 1328 | + "triggerEventId": None |
| 1329 | + } |
| 1330 | + } |
| 1331 | + ], |
| 1332 | + "meta": { |
| 1333 | + "itemGroup": { |
| 1334 | + "key": "projectHandle", |
| 1335 | + "value": "prq70zy79" |
| 1336 | + }, |
| 1337 | + "totalItems": 1 |
| 1338 | + } |
| 1339 | + } |
| 1340 | + }, |
| 1341 | + { |
| 1342 | + "name": "keton", |
| 1343 | + "handle": "prmr22ve0", |
| 1344 | + "dtCreated": "2019-03-25T14:50:43.202Z", |
| 1345 | + "dtDeleted": None, |
| 1346 | + "lastJobSeqNum": 8, |
| 1347 | + "repoNodeId": None, |
| 1348 | + "repoName": None, |
| 1349 | + "repoUrl": None, |
| 1350 | + "experiments": { |
| 1351 | + "data": [ |
| 1352 | + { |
| 1353 | + "dtCreated": "2019-04-02T15:17:03.393886+00:00", |
| 1354 | + "dtDeleted": None, |
| 1355 | + "dtFinished": "2019-04-02T17:02:54.654569+00:00", |
| 1356 | + "dtModified": "2019-04-02T15:17:03.393886+00:00", |
| 1357 | + "dtProvisioningFinished": "2019-04-02T15:17:10.978198+00:00", |
| 1358 | + "dtProvisioningStarted": "2019-04-02T15:17:10.978198+00:00", |
| 1359 | + "dtStarted": "2019-04-02T15:17:10.978198+00:00", |
| 1360 | + "dtTeardownFinished": "2019-04-02T17:02:54.654569+00:00", |
| 1361 | + "dtTeardownStarted": "2019-04-02T17:02:54.654569+00:00", |
| 1362 | + "experimentError": None, |
| 1363 | + "experimentTemplateHistoryId": 22130, |
| 1364 | + "experimentTemplateId": 174, |
| 1365 | + "experimentTypeId": 1, |
| 1366 | + "handle": "ehla1kvbwzaco", |
| 1367 | + "id": 22094, |
| 1368 | + "projectHandle": "prmr22ve0", |
| 1369 | + "projectId": 626, |
| 1370 | + "started_by_user_id": 1655, |
| 1371 | + "state": 5, |
| 1372 | + "templateHistory": { |
| 1373 | + "dtCreated": "2019-04-02T15:17:02.663449+00:00", |
| 1374 | + "dtDeleted": None, |
| 1375 | + "experimentTemplateId": 174, |
| 1376 | + "id": 22130, |
| 1377 | + "params": { |
| 1378 | + "is_preemptible": False, |
| 1379 | + "model_path": "/artifacts", |
| 1380 | + "model_type": "Tensorflow", |
| 1381 | + "name": "Test1", |
| 1382 | + "ports": 5000, |
| 1383 | + "project_handle": "prmr22ve0", |
| 1384 | + "worker_command": "python mnist.py --data_format=channels_last", |
| 1385 | + "worker_container": "tensorflow/tensorflow:1.13.1-py3", |
| 1386 | + "worker_machine_type": "K80", |
| 1387 | + "workspaceUrl": "https://github.com/Paperspace/mnist-sample" |
| 1388 | + }, |
| 1389 | + "triggerEvent": None, |
| 1390 | + "triggerEventId": None |
| 1391 | + } |
| 1392 | + } |
| 1393 | + ], |
| 1394 | + "meta": { |
| 1395 | + "itemGroup": { |
| 1396 | + "key": "projectHandle", |
| 1397 | + "value": "prmr22ve0" |
| 1398 | + }, |
| 1399 | + "totalItems": 1 |
| 1400 | + } |
| 1401 | + } |
| 1402 | + }, |
| 1403 | + { |
| 1404 | + "name": "paperspace-python", |
| 1405 | + "handle": "przhbct98", |
| 1406 | + "dtCreated": "2019-04-04T15:12:34.229Z", |
| 1407 | + "dtDeleted": None, |
| 1408 | + "lastJobSeqNum": 3, |
| 1409 | + "repoNodeId": None, |
| 1410 | + "repoName": None, |
| 1411 | + "repoUrl": None, |
| 1412 | + "experiments": { |
| 1413 | + "data": [ |
| 1414 | + { |
| 1415 | + "dtCreated": "2019-04-24T10:18:30.523193+00:00", |
| 1416 | + "dtDeleted": None, |
| 1417 | + "dtFinished": "2019-04-24T10:18:43.613748+00:00", |
| 1418 | + "dtModified": "2019-04-24T10:18:30.523193+00:00", |
| 1419 | + "dtProvisioningFinished": "2019-04-24T10:18:35.010792+00:00", |
| 1420 | + "dtProvisioningStarted": "2019-04-24T10:18:35.010792+00:00", |
| 1421 | + "dtStarted": "2019-04-24T10:18:35.010792+00:00", |
| 1422 | + "dtTeardownFinished": "2019-04-24T10:18:43.613748+00:00", |
| 1423 | + "dtTeardownStarted": "2019-04-24T10:18:43.613748+00:00", |
| 1424 | + "experimentError": None, |
| 1425 | + "experimentTemplateHistoryId": 22311, |
| 1426 | + "experimentTemplateId": 186, |
| 1427 | + "experimentTypeId": 1, |
| 1428 | + "handle": "es47og38wzhnuo", |
| 1429 | + "id": 22270, |
| 1430 | + "projectHandle": "przhbct98", |
| 1431 | + "projectId": 649, |
| 1432 | + "started_by_user_id": 1655, |
| 1433 | + "state": 7, |
| 1434 | + "templateHistory": { |
| 1435 | + "dtCreated": "2019-04-24T10:18:30.523193+00:00", |
| 1436 | + "dtDeleted": None, |
| 1437 | + "experimentTemplateId": 186, |
| 1438 | + "id": 22311, |
| 1439 | + "params": { |
| 1440 | + "command": ". test.sh\npython2 hello.py", |
| 1441 | + "container": "paperspace/tensorflow-python", |
| 1442 | + "machineType": "G1", |
| 1443 | + "project": "paperspace-python", |
| 1444 | + "workspaceFileName": "temp.zip" |
| 1445 | + }, |
| 1446 | + "triggerEvent": None, |
| 1447 | + "triggerEventId": None |
| 1448 | + } |
| 1449 | + } |
| 1450 | + ], |
| 1451 | + "meta": { |
| 1452 | + "itemGroup": { |
| 1453 | + "key": "projectHandle", |
| 1454 | + "value": "przhbct98" |
| 1455 | + }, |
| 1456 | + "totalItems": 1 |
| 1457 | + } |
| 1458 | + } |
| 1459 | + } |
| 1460 | + ], |
| 1461 | + "meta": { |
| 1462 | + "totalItems": 3 |
| 1463 | + } |
| 1464 | +} |
0 commit comments