Coverage for tests/codegen/generated/lists/imports/host.py: 73%

15 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-02-20 16:25 +0000

1from abc import abstractmethod 

2from typing import List, Protocol 

3 

4class HostHost(Protocol): 

5 @abstractmethod 

6 def strings(self, a: str) -> str: 

7 raise NotImplementedError 

8 @abstractmethod 

9 def bytes(self, a: bytes) -> bytes: 

10 raise NotImplementedError 

11 @abstractmethod 

12 def ints(self, a: List[int]) -> List[int]: 

13 raise NotImplementedError 

14 @abstractmethod 

15 def string_list(self, a: List[str]) -> List[str]: 

16 raise NotImplementedError 

17