QOL fixes (#141)
- Add missing type annotations - Various style improvements - Use constants more consistently - enforce black on benchmark code
This commit is contained in:
		@@ -27,10 +27,7 @@ class ClientStub:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
async def to_list(generator: AsyncIterator):
 | 
			
		||||
    result = []
 | 
			
		||||
    async for value in generator:
 | 
			
		||||
        result.append(value)
 | 
			
		||||
    return result
 | 
			
		||||
    return [value async for value in generator]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@pytest.fixture
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user