vvaezian / metabase_api_python

A python wrapper for Metabase API
MIT License
131 stars 39 forks source link

create_collection creates collections with names already in use #48

Closed MoonBrain01 closed 9 months ago

MoonBrain01 commented 10 months ago

The create_collection method does not check if a collection with that name already exists. I only noticed this when using the get_item_info method to get the details of the collection I had created and it returned the message "ValueError: There is more than one collection with the name"

vvaezian commented 10 months ago

In Metabase you can create multiple collections/cards/dashboards/etc with the same name. There is no issue with that as they have different IDs. So in the Python wrapper (the current package) the same functionality is replicated.

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 15 days with no activity.

github-actions[bot] commented 9 months ago

This issue was closed because it has been inactive for 15 days since being marked as stale.