MCPcopy Create free account
hub / github.com/dbt-labs/ade-bench / copy_shared_scripts

Function copy_shared_scripts

scripts_python/create_sandbox.py:216–228  ·  view source on GitHub ↗

Copy shared scripts to sandbox.

()

Source from the content-addressed store, hash-verified

214
215
216def copy_shared_scripts():
217 """Copy shared scripts to sandbox."""
218 sandbox_dir = Path("dev/sandbox")
219
220 # Copy both seed-schema.sh and merge_yaml.py
221 seed_schema_success = copy_item(
222 Path("shared/scripts/seed-schema.sh"), sandbox_dir, "seed-schema.sh script"
223 )
224 merge_yaml_success = copy_item(
225 Path("shared/scripts/merge_yaml.py"), sandbox_dir, "merge_yaml.py script"
226 )
227
228 return seed_schema_success and merge_yaml_success
229
230
231def update_dbt_config(variant, task_name):

Callers 1

mainFunction · 0.85

Calls 1

copy_itemFunction · 0.85

Tested by

no test coverage detected