Coverage for /usr/local/lib/python3.12/site-packages/prefect/_experimental/plugins/diagnostics.py: 100%

8 statements  

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

1""" 

2Diagnostic data structures for plugin system. 

3""" 

4 

5from __future__ import annotations 1a

6 

7from dataclasses import dataclass 1a

8 

9 

10@dataclass 1a

11class SetupSummary: 1a

12 """ 

13 Summary of a plugin's setup_environment execution. 

14 

15 Attributes: 

16 plugin: Name of the plugin 

17 env_preview: Preview of environment variables set (with redacted values) 

18 note: Human-readable note from the plugin, if any 

19 error: Error message if the plugin failed, or None if successful 

20 """ 

21 

22 plugin: str 1a

23 env_preview: dict[str, str] 1a

24 note: str | None 1a

25 error: str | None 1a