(action: str, entry_point: str = "")
| 98 | ) |
| 99 | |
| 100 | def action_metadata_file(action: str, entry_point: str = "") -> str: |
| 101 | entry_point = entry_point or f"{action}.py" |
| 102 | return dedent( |
| 103 | f""" |
| 104 | --- |
| 105 | name: {action} |
| 106 | runner_type: python-script |
| 107 | entry_point: {entry_point} |
| 108 | """ |
| 109 | ) |
| 110 | |
| 111 | def test_file(module: str, _object: str) -> str: |
| 112 | return dedent( |