Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/StackStorm/st2
/ main
Function
main
tools/migrate_rules_to_include_pack.py:145–155 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
143
144
145
def
main():
146
config.parse_args()
147
148
# Connect to db.
149
db_setup()
150
151
# Migrate rules.
152
migrate_rules()
153
154
# Disconnect from db.
155
db_teardown()
156
157
158
if
__name__ ==
"__main__"
:
Callers
1
migrate_rules_to_include_pack.py
File · 0.70
Calls
3
migrate_rules
Function · 0.85
db_setup
Function · 0.50
db_teardown
Function · 0.50
Tested by
no test coverage detected