(self, cache_dir: Path, inference_service: DistributedInferenceService, max_queue_size: int = 10)
| 25 | self.sensenova_vision_service: Optional[SenseNovaVisionGenerationService] = None |
| 26 | self.max_queue_size: int = 10 |
| 27 | |
| 28 | @classmethod |
| 29 | def get_instance(cls) -> "ServiceContainer": |
| 30 | if cls._instance is None: |
| 31 | cls._instance = cls() |
| 32 | return cls._instance |
| 33 | |
| 34 | def initialize(self, cache_dir: Path, inference_service: DistributedInferenceService, max_queue_size: int = 10): |
| 35 | self.file_service = FileService(cache_dir) |
no test coverage detected