Compare commits

...

1 Commits

Author SHA1 Message Date
8925458665 better timeout
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2023-12-21 09:28:32 -08:00
4 changed files with 475 additions and 475 deletions

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,7 @@ class Client:
base_url: str = attr.ib(default="https://api.kittycad.io")
cookies: Dict[str, str] = attr.ib(factory=dict, kw_only=True)
headers: Dict[str, str] = attr.ib(factory=dict, kw_only=True)
timeout: float = attr.ib(50.0, kw_only=True)
timeout: float = attr.ib(120.0, kw_only=True)
verify_ssl: Union[str, bool, ssl.SSLContext] = attr.ib(True, kw_only=True)
def get_headers(self) -> Dict[str, str]:

View File

@ -501,7 +501,7 @@ def test_text_to_cad():
result: Optional[Union[TextToCad, Error]] = create_text_to_cad.sync(
client=client,
output_format=FileExportFormat.FBX,
output_format=FileExportFormat.STEP,
body=TextToCadCreateBody(
prompt="a 2x4 lego",
),

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "kittycad"
version = "0.6.1"
version = "0.6.2"
description = "A client library for accessing KittyCAD"
authors = []