Skip to content

Commit 68d2364

Browse files
committed
Release 0.0.73
1 parent fca3934 commit 68d2364

File tree

5 files changed

+21
-2
lines changed

5 files changed

+21
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "axiomatic"
33

44
[tool.poetry]
55
name = "axiomatic"
6-
version = "0.0.72"
6+
version = "0.0.73"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,14 @@ core.File` — See core.File for more documentation
11251125
<dl>
11261126
<dd>
11271127

1128+
**get_img_coords:** `typing.Optional[bool]` — Whether to get coords of points on image
1129+
1130+
</dd>
1131+
</dl>
1132+
1133+
<dl>
1134+
<dd>
1135+
11281136
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
11291137

11301138
</dd>

src/axiomatic/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
1717
"X-Fern-Language": "Python",
1818
"X-Fern-SDK-Name": "axiomatic",
19-
"X-Fern-SDK-Version": "0.0.72",
19+
"X-Fern-SDK-Version": "0.0.73",
2020
}
2121
headers["X-API-Key"] = self.api_key
2222
return headers

src/axiomatic/document/plot/client.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def points(
2626
plot_img: core.File,
2727
method: typing.Optional[int] = None,
2828
plot_info: typing.Optional[str] = None,
29+
get_img_coords: typing.Optional[bool] = None,
2930
request_options: typing.Optional[RequestOptions] = None,
3031
) -> ColorToPoints:
3132
"""
@@ -42,6 +43,9 @@ def points(
4243
plot_info : typing.Optional[str]
4344
Can add specific plot info
4445
46+
get_img_coords : typing.Optional[bool]
47+
Whether to get coords of points on image
48+
4549
request_options : typing.Optional[RequestOptions]
4650
Request-specific configuration.
4751
@@ -65,6 +69,7 @@ def points(
6569
params={
6670
"method": method,
6771
"plot_info": plot_info,
72+
"get_img_coords": get_img_coords,
6873
},
6974
data={},
7075
files={
@@ -108,6 +113,7 @@ async def points(
108113
plot_img: core.File,
109114
method: typing.Optional[int] = None,
110115
plot_info: typing.Optional[str] = None,
116+
get_img_coords: typing.Optional[bool] = None,
111117
request_options: typing.Optional[RequestOptions] = None,
112118
) -> ColorToPoints:
113119
"""
@@ -124,6 +130,9 @@ async def points(
124130
plot_info : typing.Optional[str]
125131
Can add specific plot info
126132
133+
get_img_coords : typing.Optional[bool]
134+
Whether to get coords of points on image
135+
127136
request_options : typing.Optional[RequestOptions]
128137
Request-specific configuration.
129138
@@ -155,6 +164,7 @@ async def main() -> None:
155164
params={
156165
"method": method,
157166
"plot_info": plot_info,
167+
"get_img_coords": get_img_coords,
158168
},
159169
data={},
160170
files={

src/axiomatic/types/color_to_points.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class ColorToPoints(UniversalBaseModel):
1313
"""
1414

1515
color_points: typing.Dict[str, Points]
16+
img_coords: typing.Optional[typing.Dict[str, typing.Optional[Points]]] = None
1617

1718
if IS_PYDANTIC_V2:
1819
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2

0 commit comments

Comments
 (0)