"""Image helpers.""" from ows_product_physical import config from ows_product_physical.constant import assets def get_asset_path(): """Get the cloudfront image path for the current environment. Returns: url (string) """ if config.ENVIRONMENT == 'prod': return assets.PROD_IMAGE_URL return assets.QA_IMAGE_URL