File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ exclude = '''
21
21
22
22
[tool .poetry ]
23
23
name = " scale-nucleus"
24
- version = " 0.1.5 "
24
+ version = " 0.1.16 "
25
25
description = " The official Python client library for Nucleus, the Data Platform for AI"
26
26
license = " MIT"
27
27
authors = [" Scale AI Nucleus Team <nucleusapi@scaleapi.com>" ]
@@ -35,7 +35,7 @@ packages = [{include="nucleus"}]
35
35
python = " ^3.6.2"
36
36
grequests = " ^0.6.0"
37
37
requests = " ^2.25.1"
38
- tqdm = " ^4.60 .0"
38
+ tqdm = " ^4.41 .0"
39
39
dataclasses = { version = " ^0.7" , python = " ^3.6.1, <3.7" }
40
40
41
41
[tool .poetry .dev-dependencies ]
@@ -48,6 +48,11 @@ mypy = "^0.812"
48
48
coverage = " ^5.5"
49
49
pre-commit = " ^2.12.1"
50
50
51
+ [tool .pytest .ini_options ]
52
+ markers = [
53
+ " integration: marks tests as slow (deselect with '-m \" not integration\" ')" ,
54
+ ]
55
+
51
56
52
57
[build-system ]
53
58
requires = [" poetry-core>=1.0.0" ]
Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ def test_annotate_async_with_error(dataset: Dataset):
305
305
"annotation_upload" : {
306
306
"epoch" : 1 ,
307
307
"total" : 2 ,
308
- "errored" : 0 , # TODO: fix this once backend fix is in
308
+ "errored" : 1 ,
309
309
"ignored" : 0 ,
310
310
"datasetId" : dataset .id ,
311
311
"processed" : 1 ,
Original file line number Diff line number Diff line change @@ -283,8 +283,6 @@ def test_mixed_pred_upload_async(model_run: ModelRun):
283
283
asynchronous = True ,
284
284
)
285
285
job .sleep_until_complete ()
286
- print (job .status ())
287
- print (job .errors ())
288
286
289
287
assert job .status () == {
290
288
"job_id" : job .id ,
@@ -330,7 +328,7 @@ def test_mixed_pred_upload_async_with_error(model_run: ModelRun):
330
328
"annotation_upload" : {
331
329
"epoch" : 1 ,
332
330
"total" : 2 ,
333
- "errored" : 0 ,
331
+ "errored" : 1 ,
334
332
"ignored" : 0 ,
335
333
"datasetId" : model_run ._dataset_id ,
336
334
"processed" : 1 ,
You can’t perform that action at this time.
0 commit comments