"""Services 包初始化""" from services.db import get_pool, get_db, query from services.cache import (RefreshableCache, register_cache, refresh_all_caches, clear_all_caches) from services.product_type import get_product_type_cached from services.sales_calc import compute_product_sales_cached, sales_cache from services.inventory_calc import (compute_product_inventory_cached, compute_product_inventory_15, compute_product_in_transit, compute_product_in_transit_cached, compute_cloud_inventory_cached, compute_external_inventory_cached, _determine_trend, inv_cache) from services.forecast import (is_new_product, get_product_grade, compute_daily_forecast, sales_predict_config_cached, refresh_sales_predict_config, get_global_config, refresh_global_config) __all__ = [ 'get_pool', 'get_db', 'query', 'RefreshableCache', 'register_cache', 'refresh_all_caches', 'clear_all_caches', 'get_product_type_cached', 'compute_product_sales_cached', 'sales_cache', 'compute_product_inventory_cached', 'compute_product_inventory_15', 'compute_product_in_transit', 'compute_product_in_transit_cached', 'compute_cloud_inventory_cached', 'compute_external_inventory_cached', '_determine_trend', 'inv_cache', 'is_new_product', 'get_product_grade', 'compute_daily_forecast', 'sales_predict_config_cached', 'refresh_sales_predict_config', 'get_global_config', 'refresh_global_config', ]