mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
feat: Create BigQuery Parameters for DatabaseModal (#14721)
This commit is contained in:
@@ -432,7 +432,10 @@ def test_base_parameters_mixin():
|
||||
"query": {"foo": "bar"},
|
||||
"encryption": True,
|
||||
}
|
||||
sqlalchemy_uri = PostgresEngineSpec.build_sqlalchemy_uri(parameters)
|
||||
encrypted_extra = None
|
||||
sqlalchemy_uri = PostgresEngineSpec.build_sqlalchemy_uri(
|
||||
parameters, encrypted_extra
|
||||
)
|
||||
assert sqlalchemy_uri == (
|
||||
"postgresql+psycopg2://username:password@localhost:5432/dbname?"
|
||||
"foo=bar&sslmode=verify-ca"
|
||||
|
||||
Reference in New Issue
Block a user