Closed MickeyLulz closed 9 months ago
Hi, @MickeyLulz Thank you for using PyApacheAtlas!
To answer your maing question, you can use client.collections.upload_entity()
where you must specify the collection id.
To get the collection id you probably will need to list all of the collections
To answer your additional context question, you can use get_all_typedefs to list all of the typedefs in your purview instance.
Please let me know if that helps!
Closing but please feel free to re-open if you need any additional guidance.
What is your desired outcome Be able to upload / bulk upload new entities to a sub collection. As of now I can only create the new entities in the root collection.
What have you tried so far Looked through the documentation (https://github.com/wjohnson/pyapacheatlas) but have not found anything that can do this.
Screenshots This is what my collections look like. I want to be able to create new entities in the sub collections under my root collection (ie. be able to create an entity in 'Snowflake_Economics').
Desktop (please complete the following information):
python -m pyapacheatlas --version
): 0.15.0Additional context Is there also a list of type names? This would be quite helpful with creating new entities.