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

Commit

Permalink
pickerbug: first lcsc attach, then descriptive props
Browse files Browse the repository at this point in the history
  • Loading branch information
iopapamanoglou committed Nov 6, 2024
1 parent 7fcd85b commit 967be03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/faebryk/libs/examples/pickers.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def pick_battery(module: F.Battery):
)


def pick_switch(module: "_TSwitch[F.Electrical]"):
def pick_switch(module: "_TSwitch"):
module.add(F.can_attach_to_footprint_symmetrically())
pick_module_by_params(
module,
Expand Down
2 changes: 1 addition & 1 deletion src/faebryk/libs/picker/jlcpcb/jlcpcb.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ def attach(
):
p.override(value)

attach(module, self.partno)
module.add(
F.has_descriptive_properties_defined(
{
Expand All @@ -380,7 +381,6 @@ def attach(
)
)

attach(module, self.partno)
module.add(has_part_picked_defined(JLCPCB_Part(self.partno)))
if logger.isEnabledFor(logging.DEBUG):
logger.debug(
Expand Down

0 comments on commit 967be03

Please sign in to comment.