SceneHydrated

class wwt_api_client.constellations.data.SceneHydrated(id: str, handle_id: str, handle: wwt_api_client.constellations.data.HandleInfo, creation_date: str, likes: int, liked: bool, impressions: int, clicks: int | None, shares: int | None, place: wwt_api_client.constellations.data.ScenePlace, content: wwt_api_client.constellations.data.SceneContentHydrated, text: str, previews: wwt_api_client.constellations.data.ScenePreviews, published: bool, astropix: wwt_api_client.constellations.data.SceneAstroPix | None = None)[source]

Bases: object

Attributes Summary

astropix

dataclass_json_config

Methods Summary

from_dict(kvs, *[, infer_missing])

from_json(s, *[, parse_float, parse_int, ...])

schema(*[, infer_missing, only, exclude, ...])

to_dict([encode_json])

to_json(*[, skipkeys, ensure_ascii, ...])

Attributes Documentation

astropix: SceneAstroPix | None = None
dataclass_json_config = {'undefined': Undefined.EXCLUDE}

Methods Documentation

classmethod from_dict(kvs: dict | list | str | int | float | bool | None, *, infer_missing=False) A
classmethod from_json(s: str | bytes | bytearray, *, parse_float=None, parse_int=None, parse_constant=None, infer_missing=False, **kw) A
classmethod schema(*, infer_missing: bool = False, only=None, exclude=(), many: bool = False, context=None, load_only=(), dump_only=(), partial: bool = False, unknown=None) SchemaF[A]
to_dict(encode_json=False) Dict[str, dict | list | str | int | float | bool | None]
to_json(*, skipkeys: bool = False, ensure_ascii: bool = True, check_circular: bool = True, allow_nan: bool = True, indent: int | str | None = None, separators: Tuple[str, str] | None = None, default: Callable | None = None, sort_keys: bool = False, **kw) str