* 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>
16 lines
285 B
Python
16 lines
285 B
Python
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 {}
|