Hello! I'm getting TypeError: Cannot convert value to AST: <Directory instance>. when I'm trying to mount a directory with a file:
.with_mounted_directory(
mnt,
client.directory().with_file(
file_name,
client.host().directory(
f"{script_dir}/shell/terraform"
).file("docs.sh").id(),
),
)
Example variables:
mnt = /mnt
script_dir = /Users/user/workspace/dagger-utilities-library/dul
file_name = 5s9qvjcf_script.sh
Am I doing anything wrong?