Coverage for adrs/oms/utils.py: 0%

7 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-08-29 04:01 +0800

1class aobject(object): 

2 """ 

3 Async implementation of python's `object`. 

4 This allows to define Python Classes with `async def __init__(self)` 

5 """ 

6 

7 async def __new__(cls, *args, **kwargs): 

8 instance = super().__new__(cls) 

9 await instance.__init__(*args, **kwargs) 

10 return instance 

11 

12 async def __init__(self): 

13 pass