aboutsummaryrefslogtreecommitdiff
path: root/src/ee/digikey
diff options
context:
space:
mode:
Diffstat (limited to 'src/ee/digikey')
-rw-r--r--src/ee/digikey/functions.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ee/digikey/functions.py b/src/ee/digikey/functions.py
index 047fad1..c902b71 100644
--- a/src/ee/digikey/functions.py
+++ b/src/ee/digikey/functions.py
@@ -140,9 +140,18 @@ def normalize_facts(**kwargs):
return on_part
+# noinspection PyUnusedLocal
+def map_footprint(footprint_mappings=None, **kwargs):
+ # noinspection PyProtectedMember
+ from ee.part._utils import map_footprint
+
+ return map_footprint(footprint_mappings, "digikey-to-common", uris.make_digikey_fact_key(16))
+
+
def default(**kwargs):
function_factories = [
normalize_facts,
+ map_footprint,
]
functions = [factory(**kwargs) for factory in function_factories]