mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 17:18:23 +00:00
Docstring
This commit is contained in:
parent
a878bec668
commit
5df3aa80d5
@ -104,12 +104,12 @@ class ComplexTypeData:
|
||||
|
||||
@classmethod
|
||||
def from_json(cls, data: str) -> Self:
|
||||
"""Load JSON string and return a BaseTypeData object."""
|
||||
"""Load JSON string and return a ComplexTypeData object."""
|
||||
raise NotImplementedError("from_json is not implemented for this type")
|
||||
|
||||
@classmethod
|
||||
def from_raw(cls, data: str) -> Self:
|
||||
"""Decode base64 string and return a BaseTypeData object."""
|
||||
"""Decode base64 string and return a ComplexTypeData object."""
|
||||
raise NotImplementedError("from_raw is not implemented for this type")
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user