Coverage for tests/codegen/generated/external_types/imports/types.py: 100%

11 statements  

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

1from dataclasses import dataclass 

2from typing import Protocol, Union 

3 

4@dataclass 

5class RuntimeValueId: 

6 value: str 

7 

8@dataclass 

9class RuntimeValueId2: 

10 value: str 

11 

12RuntimeValue = Union[RuntimeValueId, RuntimeValueId2] 

13 

14class HostTypes(Protocol): 

15 pass 

16