(project: Path)
| 28 | |
| 29 | |
| 30 | def _definition(project: Path) -> dict: |
| 31 | if (project / "agent.json").exists(): |
| 32 | return json.loads((project / "agent.json").read_text()) |
| 33 | return yaml.safe_load((project / "agent.yaml").read_text()) |
| 34 | |
| 35 | |
| 36 | @pytest.fixture |
no test coverage detected