Open vvaezian opened 1 year ago
Hi. What about deepcopying collections? It does not work properly in v0.47.6
destination_metabase.copy_collection(source_collection_id=201,destination_parent_collection_id=2,deepcopy_dashboards=True,verbose=True)
Log:
source_dashboard_card_IDs = [ i['card_id'] for i in source_dashboard['dashcards'] if i['card_id'] is not None ] KeyError: 'dashcards'
In v48 Metabase changed "ordered_cards" to "dashcards". We made the change in the package in version 0.3.2. So you need to either upgrade your Metabase, or downgrade your installed package version.
Deepcopying dashboards is supported natively in v.45+.