Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Libs: KiCad: Fileformat: Fix missing defaults (#94)
Browse files Browse the repository at this point in the history
Fix missing defaults
  • Loading branch information
ruben-iteng authored Oct 20, 2024
1 parent 92f714b commit 0dd5df1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/faebryk/libs/kicad/fileformats.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,15 +583,15 @@ class C_property:
at: C_xyr
layer: C_text_layer
hide: bool = False
uuid: UUID
uuid: UUID = field(default_factory=gen_uuid)
effects: C_effects

@dataclass
class C_footprint_polygon(C_polygon):
stroke: C_stroke
fill: E_fill
layer: str
uuid: UUID
uuid: UUID = field(default_factory=gen_uuid)

@dataclass(kw_only=True)
class C_pad:
Expand Down Expand Up @@ -1168,7 +1168,7 @@ class C_footprint_in_file(C_footprint):
tags: Optional[list[str]] = None
version: int = field(**sexp_field(assert_value=20240108), default=20240108)
generator: str
generator_version: str
generator_version: str = ""
tedit: Optional[str] = None

footprint: C_footprint_in_file
Expand Down

0 comments on commit 0dd5df1

Please sign in to comment.