""" Shared helper functions for inventory service and suitbuilder. This module contains utility functions that are used by both main.py and suitbuilder.py to avoid circular imports. """ # This will be populated by main.py after loading ENUM_MAPPINGS = None def set_enum_mappings(mappings): """Set the enum mappings from main.py after loading.""" global ENUM_MAPPINGS ENUM_MAPPINGS = mappings def get_enum_mappings(): """Get the loaded enum mappings.""" return ENUM_MAPPINGS