Skip to content

Commit 8e9515e

Browse files
committed
Release 0.0.28
1 parent ee27d2a commit 8e9515e

File tree

11 files changed

+545
-4
lines changed

11 files changed

+545
-4
lines changed

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.27"
3+
version = "0.0.28"
44
description = ""
55
readme = "README.md"
66
authors = []

reference.md

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,6 +1680,163 @@ client.pic.circuit.optimize(
16801680
</dl>
16811681

16821682

1683+
</dd>
1684+
</dl>
1685+
</details>
1686+
1687+
## Pic Component
1688+
<details><summary><code>client.pic.component.<a href="src/axiomatic/pic/component/client.py">generate</a>(...)</code></summary>
1689+
<dl>
1690+
<dd>
1691+
1692+
#### 📝 Description
1693+
1694+
<dl>
1695+
<dd>
1696+
1697+
<dl>
1698+
<dd>
1699+
1700+
Generate GDS factory code to create a PIC component
1701+
</dd>
1702+
</dl>
1703+
</dd>
1704+
</dl>
1705+
1706+
#### 🔌 Usage
1707+
1708+
<dl>
1709+
<dd>
1710+
1711+
<dl>
1712+
<dd>
1713+
1714+
```python
1715+
from axiomatic import Axiomatic
1716+
1717+
client = Axiomatic(
1718+
api_key="YOUR_API_KEY",
1719+
)
1720+
client.pic.component.generate(
1721+
query="query",
1722+
)
1723+
1724+
```
1725+
</dd>
1726+
</dl>
1727+
</dd>
1728+
</dl>
1729+
1730+
#### ⚙️ Parameters
1731+
1732+
<dl>
1733+
<dd>
1734+
1735+
<dl>
1736+
<dd>
1737+
1738+
**query:** `str`
1739+
1740+
</dd>
1741+
</dl>
1742+
1743+
<dl>
1744+
<dd>
1745+
1746+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1747+
1748+
</dd>
1749+
</dl>
1750+
</dd>
1751+
</dl>
1752+
1753+
1754+
</dd>
1755+
</dl>
1756+
</details>
1757+
1758+
<details><summary><code>client.pic.component.<a href="src/axiomatic/pic/component/client.py">refine</a>(...)</code></summary>
1759+
<dl>
1760+
<dd>
1761+
1762+
#### 📝 Description
1763+
1764+
<dl>
1765+
<dd>
1766+
1767+
<dl>
1768+
<dd>
1769+
1770+
Refine GDS factory code to create a circuit
1771+
</dd>
1772+
</dl>
1773+
</dd>
1774+
</dl>
1775+
1776+
#### 🔌 Usage
1777+
1778+
<dl>
1779+
<dd>
1780+
1781+
<dl>
1782+
<dd>
1783+
1784+
```python
1785+
from axiomatic import Axiomatic
1786+
1787+
client = Axiomatic(
1788+
api_key="YOUR_API_KEY",
1789+
)
1790+
client.pic.component.refine(
1791+
query="query",
1792+
)
1793+
1794+
```
1795+
</dd>
1796+
</dl>
1797+
</dd>
1798+
</dl>
1799+
1800+
#### ⚙️ Parameters
1801+
1802+
<dl>
1803+
<dd>
1804+
1805+
<dl>
1806+
<dd>
1807+
1808+
**query:** `str`
1809+
1810+
</dd>
1811+
</dl>
1812+
1813+
<dl>
1814+
<dd>
1815+
1816+
**feedback:** `typing.Optional[str]`
1817+
1818+
</dd>
1819+
</dl>
1820+
1821+
<dl>
1822+
<dd>
1823+
1824+
**code:** `typing.Optional[str]`
1825+
1826+
</dd>
1827+
</dl>
1828+
1829+
<dl>
1830+
<dd>
1831+
1832+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1833+
1834+
</dd>
1835+
</dl>
1836+
</dd>
1837+
</dl>
1838+
1839+
16831840
</dd>
16841841
</dl>
16851842
</details>

src/axiomatic/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
FormalizeResponse,
88
GenerateCodeBody,
99
GenerateCodeResponse,
10+
GenerateComponentCodeResponse,
1011
HttpValidationError,
1112
InteractiveResponse,
1213
Measurement,
@@ -19,6 +20,7 @@
1920
PicComponentSettingsValue,
2021
RefineCodeBody,
2122
RefineCodeResponse,
23+
RefineComponentCodeResponse,
2224
RequirementBody,
2325
SolutionResponse,
2426
SolutionResponseSolutionValue,
@@ -48,6 +50,7 @@
4850
"FormalizeResponse",
4951
"GenerateCodeBody",
5052
"GenerateCodeResponse",
53+
"GenerateComponentCodeResponse",
5154
"HttpValidationError",
5255
"InteractiveResponse",
5356
"Measurement",
@@ -60,6 +63,7 @@
6063
"PicComponentSettingsValue",
6164
"RefineCodeBody",
6265
"RefineCodeResponse",
66+
"RefineComponentCodeResponse",
6367
"RequirementBody",
6468
"SolutionBodyValuesValue",
6569
"SolutionResponse",

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.27",
19+
"X-Fern-SDK-Version": "0.0.28",
2020
}
2121
headers["X-API-Key"] = self.api_key
2222
return headers

src/axiomatic/pic/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was auto-generated by Fern from our API Definition.
22

3-
from . import circuit
3+
from . import circuit, component
44

5-
__all__ = ["circuit"]
5+
__all__ = ["circuit", "component"]

src/axiomatic/pic/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import typing
44
from ..core.client_wrapper import SyncClientWrapper
55
from .circuit.client import CircuitClient
6+
from .component.client import ComponentClient
67
from .. import core
78
from ..core.request_options import RequestOptions
89
from ..types.synthesis_response import SynthesisResponse
@@ -21,6 +22,7 @@
2122
from ..core.serialization import convert_and_respect_annotation_metadata
2223
from ..core.client_wrapper import AsyncClientWrapper
2324
from .circuit.client import AsyncCircuitClient
25+
from .component.client import AsyncComponentClient
2426

2527
# this is used as the default value for optional parameters
2628
OMIT = typing.cast(typing.Any, ...)
@@ -30,6 +32,7 @@ class PicClient:
3032
def __init__(self, *, client_wrapper: SyncClientWrapper):
3133
self._client_wrapper = client_wrapper
3234
self.circuit = CircuitClient(client_wrapper=self._client_wrapper)
35+
self.component = ComponentClient(client_wrapper=self._client_wrapper)
3336

3437
def synthesize_circuit_from_paper(
3538
self, *, file: core.File, request_options: typing.Optional[RequestOptions] = None
@@ -397,6 +400,7 @@ class AsyncPicClient:
397400
def __init__(self, *, client_wrapper: AsyncClientWrapper):
398401
self._client_wrapper = client_wrapper
399402
self.circuit = AsyncCircuitClient(client_wrapper=self._client_wrapper)
403+
self.component = AsyncComponentClient(client_wrapper=self._client_wrapper)
400404

401405
async def synthesize_circuit_from_paper(
402406
self, *, file: core.File, request_options: typing.Optional[RequestOptions] = None
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This file was auto-generated by Fern from our API Definition.
2+

0 commit comments

Comments
 (0)