CopperBalance#
- class pyedb.workflows.drc.drc.CopperBalance(*, name: str, max_percent: int, layers: List[str])#
Copper-density balance rule.
Methods
CopperBalance.construct([_fields_set])CopperBalance.copy(*[, include, exclude, ...])Returns a copy of the model.
CopperBalance.dict(*[, include, exclude, ...])CopperBalance.json(*[, include, exclude, ...])CopperBalance.model_construct([_fields_set])Creates a new instance of the Model class with validated data.
CopperBalance.model_copy(*[, update, deep])!!! abstract "Usage Documentation"
CopperBalance.model_dump(*[, mode, include, ...])!!! abstract "Usage Documentation"
CopperBalance.model_dump_json(*[, indent, ...])!!! abstract "Usage Documentation"
CopperBalance.model_json_schema([by_alias, ...])Generates a JSON schema for a model class.
Compute the class name for parametrizations of generic classes.
CopperBalance.model_post_init(context, /)Override this method to perform additional initialization after __init__ and model_construct.
CopperBalance.model_rebuild(*[, force, ...])Try to rebuild the pydantic-core schema for the model.
CopperBalance.model_validate(obj, *[, ...])Validate a pydantic model instance.
CopperBalance.model_validate_json(json_data, *)!!! abstract "Usage Documentation"
Validate the given object with string data against the Pydantic model.
CopperBalance.parse_file(path, *[, ...])CopperBalance.parse_raw(b, *[, ...])CopperBalance.schema([by_alias, ref_template])CopperBalance.schema_json(*[, by_alias, ...])CopperBalance.update_forward_refs(**localns)CopperBalance.validate(value)Attributes
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].