24eme / metabase_export_import Goto Github PK
View Code? Open in Web Editor NEWA python library allowing to import and export metabase database configuration from a metabase API
License: GNU Affero General Public License v3.0
A python library allowing to import and export metabase database configuration from a metabase API
License: GNU Affero General Public License v3.0
Export and import of users and groups : /admin/people
Export and Import of all tabs in admin global settings /admin/settings
hi,
When importing the export into another metabase I am getting the following error. Can you help?
C:\_dev\metabase_export_import>python metabase_import.py http://192.168.1.152:3002/api/ [email protected] xxxxx123 Nuno c:\temp\1 Traceback (most recent call last): File "C:\_dev\metabase_export_import\metabase_import.py", line 15, in <module> ametabase.import_cards_from_json(metabase_base, metabase_exportdir) File "C:\_dev\metabase_export_import\metabase.py", line 715, in import_cards_from_json res.append(self.card_import(database_name, self.convert_names2ids(database_name, collection_name, card))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\_dev\metabase_export_import\metabase.py", line 483, in convert_names2ids [new_k, value] = self.convert_pcnames2id(database_name, collection_name, k, obj[k]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\_dev\metabase_export_import\metabase.py", line 436, in convert_pcnames2id return [new_k, self.collection_name2id_or_create_it(collection_name)] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\_dev\metabase_export_import\metabase.py", line 403, in collection_name2id_or_create_it self.create_collection(collection_name) File "C:\_dev\metabase_export_import\metabase.py", line 421, in create_collection return self.query('POST', 'collection', param) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\_dev\metabase_export_import\metabase.py", line 74, in query raise ConnectionError(query_response) ConnectionError: {'errors': {'name': 'value must be a non-blank string.'}}
Export and import table visibility
Export and import permissions : /admin/permissions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.