Skip to content

Commit daa195a

Browse files
committed
Release 0.0.26
1 parent 4d3829b commit daa195a

File tree

20 files changed

+571
-363
lines changed

20 files changed

+571
-363
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ from axiomatic import Axiomatic, RequirementBody
2525
client = Axiomatic(
2626
api_key="YOUR_API_KEY",
2727
)
28-
client.requirements.check_requirements_endpoint(
28+
client.requirements.check(
2929
request=[
3030
RequirementBody(
3131
latex_symbol="latex_symbol",
@@ -53,7 +53,7 @@ client = AsyncAxiomatic(
5353

5454

5555
async def main() -> None:
56-
await client.requirements.check_requirements_endpoint(
56+
await client.requirements.check(
5757
request=[
5858
RequirementBody(
5959
latex_symbol="latex_symbol",
@@ -78,7 +78,7 @@ will be thrown.
7878
from axiomatic.core.api_error import ApiError
7979

8080
try:
81-
client.requirements.check_requirements_endpoint(...)
81+
client.requirements.check(...)
8282
except ApiError as e:
8383
print(e.status_code)
8484
print(e.body)
@@ -101,7 +101,7 @@ A request is deemed retriable when any of the following HTTP status codes is ret
101101
Use the `max_retries` request option to configure this behavior.
102102

103103
```python
104-
client.requirements.check_requirements_endpoint(..., request_options={
104+
client.requirements.check(..., request_options={
105105
"max_retries": 1
106106
})
107107
```
@@ -121,7 +121,7 @@ client = Axiomatic(
121121

122122

123123
# Override timeout for a specific method
124-
client.requirements.check_requirements_endpoint(..., request_options={
124+
client.requirements.check(..., request_options={
125125
"timeout_in_seconds": 1
126126
})
127127
```

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "axiomatic"
3-
version = "0.0.25"
3+
version = "0.0.26"
44
description = ""
55
readme = "README.md"
66
authors = []

0 commit comments

Comments
 (0)