Hi all, quick question, is there a way currently from the ayon python api to update the “Addon directory” of an addon in a dev bundle? It doesn’t seem like this functionality is included in the update_bundle command but wanted to check
It should be the dev_addons_config
arguments, that takes a dictionary:
import ayon_api
# Double check your python API version, I believe this may need >=1.10.0
print(ayon_api.__version__)
bundle_name = "mydevbundle"
ayon_api.update_bundle(
bundle_name,
dev_addons_config={"maya": {"enabled": True, "path": "E:/test"}}
)
Likely needs AYON Python API 1.10.0 release or higher, because the argument is added with Bundles: Updated bundles endpoints by iLLiCiTiT · Pull Request #193 · ynput/ayon-python-api · GitHub
Also, Here is the command from python and rest APIs docs.
Thanks for the info, @BigRoy and @mustafa_jafar !