Skip to content

Commit 697d08f

Browse files
committed
update versions for requests
1 parent 3a0e281 commit 697d08f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ python = "^3.8"
2020
# astea = "^1.0"
2121
tqdm = "4.64.0"
2222
randomname = "^0.1.3"
23-
requests = "^2.25.1"
23+
requests = "^2.31.0"
2424
tabulate = "0.8.9"
2525
protobuf = "3.20.2"
2626
mypy-protobuf = "3.2.0" # this is used for generating nbox spec

stories/mod.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ def story(self, job_name: str = f"nboxS-{SimplerTimes.get_now_i64()}", n: int =
3333
sleep(2)
3434
hr(f"nbx jobs pick --job_id '{job.id}' get_run_log '{rid}' - logs")
3535
out = Job(job_id=job.id).get_run_log(rid)
36-
logs = [json.dumps(x) for x in out["logs"]][:10]
37-
print("LOG ITEMS:", len(logs))
36+
print("LOG ITEMS:", len(out["logs"]))
37+
logs = [json.dumps(x) for x in out["logs"][:10]]
3838
print("LOGS:\n", "\n".join(logs))
3939

4040
# ---

0 commit comments

Comments
 (0)