"""Constants for the reporting map.""" from reporting.models.ca_physical_historical_product_view import ( CAPhysicalHistoricalProductView, ) from reporting.models.ca_physical_product_view import CAPhysicalProductView from reporting.models.ca_physical_retailer_aggregate_view import ( CAPhysicalRetailerAggregateView, ) from reporting.models.ca_physical_retailer_view import CAPhysicalRetailerView from reporting.models.eu_point_of_sale_by_country_view import ( EUPointOfSaleByCountryView, ) from reporting.models.eu_point_of_sale_by_product_country_view import ( EUPointOfSaleByProductCountryView, ) from reporting.models.eu_point_of_sale_by_product_view import ( EUPointOfSaleByProductView, ) from reporting.models.uk_physical_product_view import UKPhysicalProductView from reporting.models.us_physical_historical_product_view import ( USPhysicalHistoricalProductView, ) from reporting.models.us_physical_historical_product_view_coop import ( USPhysicalHistoricalProductViewCoop, ) from reporting.models.us_physical_product_view import USPhysicalProductView from reporting.models.us_physical_product_view_coop import ( USPhysicalProductViewCoop, ) from reporting.models.us_physical_retailer_aggregate_view import ( USPhysicalRetailerAggregateView, ) from reporting.models.us_physical_retailer_aggregate_view_coop import ( USPhysicalRetailerAggregateViewCoop, ) from reporting.models.us_physical_retailer_view import USPhysicalRetailerView from reporting.models.us_physical_retailer_view_coop import ( USPhysicalRetailerViewCoop, ) PRODUCT_US = 'workstation-physical-product-view-US' PRODUCT_CA = 'workstation-physical-product-view-CA' PRODUCT_UK = 'workstation-physical-product-view-UK' PRODUCT_US_COOP = 'workstation-physical-product-view-US-coop' RETAILER_US = 'workstation-physical-retail-view-US' RETAILER_CA = 'workstation-physical-retail-view-CA' RETAILER_US_COOP = 'workstation-physical-retail-view-US-coop' HISTORICAL_PRODUCT_US = 'workstation-physical-historical-product-view-US' HISTORICAL_PRODUCT_CA = 'workstation-physical-historical-product-view-CA' HISTORICAL_PRODUCT_US_COOP = ( 'workstation-physical-historical-product-view-US-coop' ) RETAILER_AGGREGATE_US = 'workstation-physical-retail-aggregate-view-US' RETAILER_AGGREGATE_CA = 'workstation-physical-retail-aggregate-view-CA' RETAILER_AGGREGATE_US_COOP = ( 'workstation-physical-retail-aggregate-view-US-coop' ) POINT_OF_SALE_BY_PRODUCT_COUNTRY_EU = ( 'workstation-point-of-sale-by-product-country-view-EU' ) POINT_OF_SALE_BY_PRODUCT_EU = 'workstation-point-of-sale-by-product-view-EU' POINT_OF_SALE_BY_COUNTRY_EU = 'workstation-point-of-sale-by-country-view-EU' REPORT_REGISTRY = { PRODUCT_US: { 'model': USPhysicalProductView, 'grass_headers_required': True, }, PRODUCT_UK: { 'model': UKPhysicalProductView, 'grass_headers_required': True, }, PRODUCT_CA: { 'model': CAPhysicalProductView, 'grass_headers_required': True, }, PRODUCT_US_COOP: { 'model': USPhysicalProductViewCoop, 'grass_headers_required': True, }, RETAILER_US: { 'model': USPhysicalRetailerView, 'grass_headers_required': True, }, RETAILER_CA: { 'model': CAPhysicalRetailerView, 'grass_headers_required': True, }, RETAILER_US_COOP: { 'model': USPhysicalRetailerViewCoop, 'grass_headers_required': True, }, RETAILER_AGGREGATE_US: { 'model': USPhysicalRetailerAggregateView, 'grass_headers_required': True, }, RETAILER_AGGREGATE_CA: { 'model': CAPhysicalRetailerAggregateView, 'grass_headers_required': True, }, RETAILER_AGGREGATE_US_COOP: { 'model': USPhysicalRetailerAggregateViewCoop, 'grass_headers_required': True, }, HISTORICAL_PRODUCT_US: { 'model': USPhysicalHistoricalProductView, 'grass_headers_required': True, }, HISTORICAL_PRODUCT_CA: { 'model': CAPhysicalHistoricalProductView, 'grass_headers_required': True, }, HISTORICAL_PRODUCT_US_COOP: { 'model': USPhysicalHistoricalProductViewCoop, 'grass_headers_required': True, }, POINT_OF_SALE_BY_PRODUCT_COUNTRY_EU: { 'model': EUPointOfSaleByProductCountryView, 'grass_headers_required': True, }, POINT_OF_SALE_BY_PRODUCT_EU: { 'model': EUPointOfSaleByProductView, 'grass_headers_required': True, }, POINT_OF_SALE_BY_COUNTRY_EU: { 'model': EUPointOfSaleByCountryView, 'grass_headers_required': True, }, }