Bugfixes in app runtime
This commit is contained in:
parent
0df6d469ab
commit
ff577b121e
@ -7,17 +7,17 @@ from sh_edraft.hosting.base.application_runtime_base import ApplicationRuntimeBa
|
||||
|
||||
class ApplicationRuntime(ApplicationRuntimeBase):
|
||||
|
||||
def __init__(self, config: ConfigurationBase, runtime: EnvironmentBase):
|
||||
def __init__(self, config: ConfigurationBase, environment: EnvironmentBase):
|
||||
ApplicationRuntimeBase.__init__(self)
|
||||
|
||||
self._app_runtime = runtime
|
||||
self._environment = environment
|
||||
self._app_configuration = config
|
||||
self._start_time: datetime = datetime.now()
|
||||
self._end_time: datetime = datetime.now()
|
||||
|
||||
@property
|
||||
def environment(self) -> EnvironmentBase:
|
||||
return self._app_runtime
|
||||
return self._environment
|
||||
|
||||
@property
|
||||
def configuration(self) -> ConfigurationBase:
|
||||
|
Loading…
Reference in New Issue
Block a user