Coverage for /usr/local/lib/python3.12/site-packages/prefect/types/entrypoint.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.10.6, created at 2025-12-05 13:38 +0000

1from enum import Enum 1a

2 

3 

4class EntrypointType(Enum): 1a

5 """ 

6 Enum representing a entrypoint type. 

7 

8 File path entrypoints are in the format: `path/to/file.py:function_name`. 

9 Module path entrypoints are in the format: `path.to.module.function_name`. 

10 """ 

11 

12 FILE_PATH = "file_path" 1a

13 MODULE_PATH = "module_path" 1a