File tree Expand file tree Collapse file tree
lambdas/shared/src/common/api_clients Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33"""Constants used by API clients"""
44
5+ DEV_ENVIRONMENT = "dev"
6+
57
68class Constants :
79 """Constants used for the API clients"""
Original file line number Diff line number Diff line change 55from botocore .config import Config
66
77from common .api_clients .authentication import AppRestrictedAuth , Service
8+ from common .api_clients .constants import DEV_ENVIRONMENT
89from common .api_clients .mns_service import MnsService
910from common .api_clients .mock_mns_service import MockMnsService
1011from common .cache import Cache
1415
1516
1617def get_mns_service (mns_env : str = "int" ):
17- if mns_env == "dev" :
18+ if mns_env == DEV_ENVIRONMENT :
1819 logging .info ("Dev environment: Using MockMnsService" )
1920 return MockMnsService (MNS_TEST_QUEUE_URL )
2021 else :
You can’t perform that action at this time.
0 commit comments