Fix vendored H3 package registration

This commit is contained in:
2026-10-20 13:49:16 +00:00
parent 11b0b11376
commit 8445f0e500
2 changed files with 7 additions and 4 deletions
+6 -4
View File
@@ -13,9 +13,9 @@ import logging
_PACKAGES = (
("vendor.dumas_h3_continuum", "H3 Continuum"),
("vendor.dumas_minimax_h3_refmod", "MiniMax H3 RefMod"),
("vendor.dumas_h3_refmod_picker", "H3 RefMod Picker"),
(".vendor.dumas_h3_continuum", "H3 Continuum"),
(".vendor.dumas_minimax_h3_refmod", "MiniMax H3 RefMod"),
(".vendor.dumas_h3_refmod_picker", "H3 RefMod Picker"),
)
@@ -32,7 +32,9 @@ def _load_pack(package_name):
def _namespaced_mappings():
mappings = {}
display = {}
for package_name, label in _PACKAGES:
for relative_name, label in _PACKAGES:
package_name = (f"{__package__}{relative_name}" if __package__
else relative_name.lstrip("."))
pack = _load_pack(package_name)
if pack is None:
continue
+1
View File
@@ -0,0 +1 @@
"""DUMAS-vendored upstream MiniMax H3 packages."""