Create TrainingConfig Singleton class 55/13755/4
authorsubhash kumar singh <subh.singh@samsung.com>
Fri, 15 Nov 2024 12:55:13 +0000 (12:55 +0000)
committersubhash kumar singh <subh.singh@samsung.com>
Mon, 18 Nov 2024 17:11:40 +0000 (17:11 +0000)
commit1b48bf3a1ac8cb925fb902f5d13d4213efc0b18a
treee967a3f42d183e6e436df1541b0012f16c13f5a4
parenta8e36a74fa74a8d9b12d5111dccb714fb10dc9b2
Create TrainingConfig Singleton class

Created TrainingConfig as singletone class to share cofiguraiton
and logger

e.g.
def __init__():
  self.logger = TrainingConfig().__logger

then use the `self.logger` for logging.

Change-Id: I4eb5f38ffc288825fe6c9ac38312c99238150abe
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
tests/test_trainingmgr_config.py
trainingmgr/common/trainingmgr_config.py