Singleton instance (this prevents com creation on import).
(cls)
| 88 | |
| 89 | @classmethod |
| 90 | def instance(cls) -> '_DllClient': |
| 91 | """Singleton instance (this prevents com creation on import).""" |
| 92 | if cls._instance is None: |
| 93 | cls._instance = cls() |
| 94 | return cls._instance |
| 95 | |
| 96 | def __init__(self): |
| 97 | binPath = os.path.join(os.path.dirname(os.path.abspath(__file__)), "bin") |
no outgoing calls
no test coverage detected