File diff suppressed because it is too large
Load Diff
@ -13,7 +13,7 @@ class Client:
|
|||||||
base_url: str = attr.ib(default="https://api.kittycad.io")
|
base_url: str = attr.ib(default="https://api.kittycad.io")
|
||||||
cookies: Dict[str, str] = attr.ib(factory=dict, kw_only=True)
|
cookies: Dict[str, str] = attr.ib(factory=dict, kw_only=True)
|
||||||
headers: 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)
|
verify_ssl: Union[str, bool, ssl.SSLContext] = attr.ib(True, kw_only=True)
|
||||||
|
|
||||||
def get_headers(self) -> Dict[str, str]:
|
def get_headers(self) -> Dict[str, str]:
|
||||||
|
@ -501,7 +501,7 @@ def test_text_to_cad():
|
|||||||
|
|
||||||
result: Optional[Union[TextToCad, Error]] = create_text_to_cad.sync(
|
result: Optional[Union[TextToCad, Error]] = create_text_to_cad.sync(
|
||||||
client=client,
|
client=client,
|
||||||
output_format=FileExportFormat.FBX,
|
output_format=FileExportFormat.STEP,
|
||||||
body=TextToCadCreateBody(
|
body=TextToCadCreateBody(
|
||||||
prompt="a 2x4 lego",
|
prompt="a 2x4 lego",
|
||||||
),
|
),
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "kittycad"
|
name = "kittycad"
|
||||||
version = "0.6.1"
|
version = "0.6.2"
|
||||||
description = "A client library for accessing KittyCAD"
|
description = "A client library for accessing KittyCAD"
|
||||||
|
|
||||||
authors = []
|
authors = []
|
||||||
|
Reference in New Issue
Block a user