Skip to content

Surface

Bases: Identity

Represents a surface used in a PV kit installation, inheriting from Identity.

Inherits from

Identity: Provides attributes such as id, name, and family.

Methods:

Name Description
from_dict

Creates an instance of Surface from a dictionary.

from_dict(data) classmethod

Creates an instance of Surface from a dictionary.

Parameters:

Name Type Description Default
data dict

A dictionary containing surface information.

required

Returns:

Name Type Description
Surface Surface

An instance of the Surface class.