Skip to content

Commit 5d601f1

Browse files
[Data Type] Make x, y in PredictedEmbedding Optional (#94)
1 parent 9def978 commit 5d601f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

eyepop/data/data_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ class PredictedClass(BaseModel):
161161
category: str | None = None
162162

163163
class PredictedEmbedding(BaseModel):
164-
x: float
165-
y: float
164+
x: float | None = None
165+
y: float | None = None
166166
embedding: List[float]
167167

168168
class PredictedText(BaseModel):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
99

1010
[project]
1111
name = "eyepop"
12-
version = "1.14.4"
12+
version = "1.14.5"
1313
description="EyePop.ai Python SDK"
1414
readme = "README.md"
1515
license.file = "./LICENSE"

0 commit comments

Comments
 (0)