-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
fd5580b
commit 45277b3
Showing
12 changed files
with
883 additions
and
494 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from typing import List | ||
|
||
from pydantic import BaseModel, ConfigDict | ||
|
||
|
||
class AddHoleFromOffset(BaseModel): | ||
"""The response from the `AddHoleFromOffset` command.""" | ||
|
||
entity_ids: List[str] | ||
|
||
model_config = ConfigDict(protected_namespaces=()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from pydantic import BaseModel, ConfigDict | ||
|
||
|
||
class EntityMakeHelixFromParams(BaseModel): | ||
"""The response from the `EntityMakeHelixFromParams` endpoint.""" | ||
|
||
helix_id: str | ||
|
||
model_config = ConfigDict(protected_namespaces=()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
from typing import List | ||
|
||
from pydantic import BaseModel, ConfigDict | ||
|
||
|
||
class EntityMirror(BaseModel): | ||
"""The response from the `EntityMirror` endpoint.""" | ||
|
||
entity_ids: List[str] | ||
|
||
model_config = ConfigDict(protected_namespaces=()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
from typing import List | ||
|
||
from pydantic import BaseModel, ConfigDict | ||
|
||
|
||
class EntityMirrorAcrossEdge(BaseModel): | ||
"""The response from the `EntityMirrorAcrossEdge` endpoint.""" | ||
|
||
entity_ids: List[str] | ||
|
||
model_config = ConfigDict(protected_namespaces=()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from typing import List, Optional | ||
|
||
from pydantic import BaseModel, ConfigDict | ||
|
||
from ..models.side_face import SideFace | ||
|
||
|
||
class ExtrudedFaceInfo(BaseModel): | ||
"""IDs for the extruded faces.""" | ||
|
||
bottom: Optional[str] = None | ||
|
||
sides: List[SideFace] | ||
|
||
top: str | ||
|
||
model_config = ConfigDict(protected_namespaces=()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from pydantic import BaseModel, ConfigDict | ||
|
||
|
||
class SideFace(BaseModel): | ||
"""IDs for a side face, extruded from the path of some sketch/2D shape.""" | ||
|
||
face_id: str | ||
|
||
path_id: str | ||
|
||
model_config = ConfigDict(protected_namespaces=()) |
Oops, something went wrong.