Skip to content

Commit c491fc3

Browse files
committed
revert and remove | None
1 parent e66076e commit c491fc3

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ packages = [{ include = "zeno_client" }]
1010
[tool.poetry.dependencies]
1111
pandas = ">=1.4.3"
1212
pyarrow = ">=6.0.0"
13-
python = ">=3.10"
13+
python = ">=3.8"
1414
pydantic = ">=1.0"
1515
requests = ">=2.20.0"
1616
arrow-json = "^0.9.0"

zeno_client/client.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Functions to upload data to Zeno's backend."""
2+
23
import io
34
import json
45
import re
@@ -305,10 +306,10 @@ def create_project(
305306
*,
306307
name: str,
307308
view: Union[str, Dict] = "",
308-
description: str | None = None,
309+
description: Optional[str] = None,
309310
metrics: List[ZenoMetric] = [],
310-
samples_per_page: int | None = None,
311-
public: bool | None = None,
311+
samples_per_page: Optional[int] = None,
312+
public: Optional[bool] = None,
312313
) -> ZenoProject:
313314
"""Creates an empty project in Zeno's backend.
314315

0 commit comments

Comments
 (0)