Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Can I upload a list of global tags using the Python API? If so, how?
Operating system used: RHEL 7.9
Hi @VickeyC ,
You can use https://doc.dataiku.com/dss/latest/python-api/client.html#dataikuapi.DSSClient.get_general_settings to interact with globalTagsCategories. Note you need Admin permissions for interacting with general_settings.
Here is a quick example:
import dataiku
client = dataiku.api_client()
settings = client.get_general_settings()
raw_settings = settings.get_raw().["globalTagsCategories"]
#modify raw_settings as needed
# raw_settings = ...
settings.save()
Hi @VickeyC ,
You can use https://doc.dataiku.com/dss/latest/python-api/client.html#dataikuapi.DSSClient.get_general_settings to interact with globalTagsCategories. Note you need Admin permissions for interacting with general_settings.
Here is a quick example:
import dataiku
client = dataiku.api_client()
settings = client.get_general_settings()
raw_settings = settings.get_raw().["globalTagsCategories"]
#modify raw_settings as needed
# raw_settings = ...
settings.save()
Thank you @AlexT -- Exactly what I was looking for!