33import typing
44from ..core .client_wrapper import SyncClientWrapper
55from .data_files .client import DataFilesClient
6- from ..types .requirement_body import RequirementBody
6+ from ..types .user_requirement import UserRequirement
77from ..core .request_options import RequestOptions
88from ..core .serialization import convert_and_respect_annotation_metadata
99from ..core .pydantic_utilities import parse_obj_as
@@ -24,12 +24,12 @@ def __init__(self, *, client_wrapper: SyncClientWrapper):
2424 self .data_files = DataFilesClient (client_wrapper = self ._client_wrapper )
2525
2626 def check (
27- self , * , request : typing .Sequence [RequirementBody ], request_options : typing .Optional [RequestOptions ] = None
27+ self , * , request : typing .Sequence [UserRequirement ], request_options : typing .Optional [RequestOptions ] = None
2828 ) -> typing .Optional [typing .Any ]:
2929 """
3030 Parameters
3131 ----------
32- request : typing.Sequence[RequirementBody ]
32+ request : typing.Sequence[UserRequirement ]
3333
3434 request_options : typing.Optional[RequestOptions]
3535 Request-specific configuration.
@@ -41,14 +41,14 @@ def check(
4141
4242 Examples
4343 --------
44- from axiomatic import Axiomatic, RequirementBody
44+ from axiomatic import Axiomatic, UserRequirement
4545
4646 client = Axiomatic(
4747 api_key="YOUR_API_KEY",
4848 )
4949 client.requirements.check(
5050 request=[
51- RequirementBody (
51+ UserRequirement (
5252 latex_symbol="latex_symbol",
5353 requirement_name="requirement_name",
5454 tolerance=1.1,
@@ -62,7 +62,7 @@ def check(
6262 "requirements/check" ,
6363 method = "POST" ,
6464 json = convert_and_respect_annotation_metadata (
65- object_ = request , annotation = typing .Sequence [RequirementBody ], direction = "write"
65+ object_ = request , annotation = typing .Sequence [UserRequirement ], direction = "write"
6666 ),
6767 request_options = request_options ,
6868 omit = OMIT ,
@@ -98,12 +98,12 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper):
9898 self .data_files = AsyncDataFilesClient (client_wrapper = self ._client_wrapper )
9999
100100 async def check (
101- self , * , request : typing .Sequence [RequirementBody ], request_options : typing .Optional [RequestOptions ] = None
101+ self , * , request : typing .Sequence [UserRequirement ], request_options : typing .Optional [RequestOptions ] = None
102102 ) -> typing .Optional [typing .Any ]:
103103 """
104104 Parameters
105105 ----------
106- request : typing.Sequence[RequirementBody ]
106+ request : typing.Sequence[UserRequirement ]
107107
108108 request_options : typing.Optional[RequestOptions]
109109 Request-specific configuration.
@@ -117,7 +117,7 @@ async def check(
117117 --------
118118 import asyncio
119119
120- from axiomatic import AsyncAxiomatic, RequirementBody
120+ from axiomatic import AsyncAxiomatic, UserRequirement
121121
122122 client = AsyncAxiomatic(
123123 api_key="YOUR_API_KEY",
@@ -127,7 +127,7 @@ async def check(
127127 async def main() -> None:
128128 await client.requirements.check(
129129 request=[
130- RequirementBody (
130+ UserRequirement (
131131 latex_symbol="latex_symbol",
132132 requirement_name="requirement_name",
133133 tolerance=1.1,
@@ -144,7 +144,7 @@ async def main() -> None:
144144 "requirements/check" ,
145145 method = "POST" ,
146146 json = convert_and_respect_annotation_metadata (
147- object_ = request , annotation = typing .Sequence [RequirementBody ], direction = "write"
147+ object_ = request , annotation = typing .Sequence [UserRequirement ], direction = "write"
148148 ),
149149 request_options = request_options ,
150150 omit = OMIT ,
0 commit comments