XmlNet#

class pyedb.xml_parser.xml_parser.XmlNet(/, **data: Any)#

Bases: pydantic.BaseModel

Represents a net configuration in the XML file.

Parameters:
namestr

Name of the net.

pins_become_portsbool, optional

Whether pins in this net should become ports. The default is None.

Overview#

name

pins_become_ports

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Import detail#

from pyedb.xml_parser.xml_parser import XmlNet

Attribute detail#

XmlNet.name: str = None#
XmlNet.pins_become_ports: bool | None = None#
XmlNet.model_config#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].