MCPcopy Create free account
hub / github.com/StackStorm/st2 / action_metadata_file

Function action_metadata_file

pants-plugins/pack_metadata/python_rules/conftest.py:100–109  ·  view source on GitHub ↗
(action: str, entry_point: str = "")

Source from the content-addressed store, hash-verified

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(

Callers 1

write_test_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected