Update api spec (#127)
* YOYO NEW API SPEC! * bump version Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * some fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes #128 Signed-off-by: Jess Frazelle <github@jessfraz.com> * mypy fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
15
kittycad/models/empty.py
Normal file
15
kittycad/models/empty.py
Normal file
@ -0,0 +1,15 @@
|
||||
from typing import Any, Dict, Type, TypeVar
|
||||
|
||||
import attr
|
||||
|
||||
VI = TypeVar("VI", bound="Empty")
|
||||
|
||||
|
||||
@attr.s(auto_attribs=True)
|
||||
class Empty:
|
||||
def __str__(self) -> str:
|
||||
return ""
|
||||
|
||||
@classmethod
|
||||
def from_dict(cls: Type[VI], src_dict: Dict[str, Any]) -> Any:
|
||||
return {}
|
Reference in New Issue
Block a user