2022-05-25 19:53:05 +02:00
|
|
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
|
|
|
|
|
|
|
|
|
|
|
class PIPSettings(ConfigurationModelABC):
|
2023-04-05 18:13:29 +02:00
|
|
|
def __init__(self, production: str = None, staging: str = None, development: str = None):
|
2022-05-25 19:53:05 +02:00
|
|
|
ConfigurationModelABC.__init__(self)
|
|
|
|
|
2023-04-05 18:13:29 +02:00
|
|
|
self._production = production
|
|
|
|
self._staging = staging
|
|
|
|
self._development = development
|
2022-05-25 19:53:05 +02:00
|
|
|
|
|
|
|
@property
|
|
|
|
def production(self):
|
|
|
|
return self._production
|
|
|
|
|
|
|
|
@property
|
|
|
|
def staging(self):
|
|
|
|
return self._staging
|
|
|
|
|
|
|
|
@property
|
|
|
|
def development(self):
|
|
|
|
return self._development
|