mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
feat: Configuration Method and expanded parameters for Database Model (#14451)
* db migration for dbs * first draft at logic * added unit tests * revisions * use strings for db values * lint and revisions to tests * changed test back * added revisions for testing * Update superset/databases/commands/update.py Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> * Update superset/databases/schemas.py Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> * Update superset/models/core.py Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> * Update superset/databases/commands/update.py Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> * got rid of extra imports added new test * Update superset/databases/schemas.py Co-authored-by: Beto Dealmeida <roberto@dealmeida.net> Co-authored-by: Elizabeth Thompson <eschutho@gmail.com> Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
This commit is contained in:
@@ -74,7 +74,6 @@ class TestExportDatabasesCommand(SupersetTestCase):
|
||||
"metadata.yaml",
|
||||
"databases/examples.yaml",
|
||||
"datasets/examples/energy_usage.yaml",
|
||||
"datasets/examples/wb_health_population.yaml",
|
||||
"datasets/examples/birth_names.yaml",
|
||||
}
|
||||
expected_extra = {
|
||||
@@ -88,7 +87,6 @@ class TestExportDatabasesCommand(SupersetTestCase):
|
||||
**expected_extra,
|
||||
"engine_params": {"connect_args": {"poll_interval": 0.1}},
|
||||
}
|
||||
|
||||
assert core_files.issubset(set(contents.keys()))
|
||||
|
||||
if example_db.backend == "postgresql":
|
||||
|
||||
Reference in New Issue
Block a user