shop.globals ============ .. py:module:: shop.globals .. autoapi-nested-parse:: Global constants and settings for the viur-shop. Attributes ---------- .. autoapisummary:: shop.globals.SHOP_LOGGER shop.globals.SHOP_INSTANCE shop.globals.SHOP_INSTANCE_VI shop.globals.SENTINEL shop.globals.DEBUG_DISCOUNTS shop.globals.MAX_FETCH_LIMIT Module Contents --------------- .. py:data:: SHOP_LOGGER :type: logging.Logger viur-shop base logger instance .. py:data:: SHOP_INSTANCE :type: shop.types_global.GlobalVar[shop.shop.Shop] The shop instance bound to the default html renderer .. py:data:: SHOP_INSTANCE_VI :type: shop.types_global.GlobalVar[shop.shop.Shop] The shop instance bound to the vi renderer .. py:data:: SENTINEL :type: Final[shop.types_global.Sentinel] Unique sentinel object used to detect if a value was explicitly set or not .. py:data:: DEBUG_DISCOUNTS :type: shop.types_global.GlobalVar[bool] Print detailed discount evaluation for debugging .. py:data:: MAX_FETCH_LIMIT :type: int :value: 100 Limit used if all entries should be fetched, but it needs to be limited because it's ViUR.