mirror of
https://github.com/clearml/clearml-agent
synced 2025-02-07 21:35:00 +00:00
16 lines
358 B
Python
16 lines
358 B
Python
![]() |
from threading import Thread
|
||
|
from clearml_agent.session import Session
|
||
|
|
||
|
|
||
|
class K8sDaemon(Thread):
|
||
|
|
||
|
def __init__(self, agent):
|
||
|
super(K8sDaemon, self).__init__(target=self.target)
|
||
|
self.daemon = True
|
||
|
self._agent = agent
|
||
|
self.log = agent.log
|
||
|
self._session: Session = agent._session
|
||
|
|
||
|
def target(self):
|
||
|
pass
|