Fix Bug in AgentClient Singleton Implementation 15/15115/2
authorggori <wjdxodlf012345@khu.ac.kr>
Sat, 4 Oct 2025 05:59:57 +0000 (05:59 +0000)
committerggori <wjdxodlf012345@khu.ac.kr>
Sat, 4 Oct 2025 06:03:20 +0000 (06:03 +0000)
commited1cfc601eb53fb4b3d0ee8f44f45be3a548c911
treef62e7f6dcbb9ead5b5bfbc1249ae84a2c119741c
parent2fae50432e02298f169e8cd5f29a56c93280db7b
Fix Bug in AgentClient Singleton Implementation

- Fix "__init__" to check self._initialized and determine if the one-time initialization has occured.
- If _initialized is True, all attributes have been set.
- If _initialized is False, the instance was created but not yet fully initialized by initialized_agent()

Issue-ID: AIMLFW-273
Change-Id: Ic395f9ff9d2ec22be8f93f0affb6b04d7532c4f9
Signed-off-by: ggori <wjdxodlf012345@khu.ac.kr>
trainingmgr/service/agent_service.py