Skip to content

Commit

Permalink
Update ui.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh committed Jul 13, 2021
1 parent 0c433b7 commit fd3eb8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/docs/Connecting to Databases/ui.mdx
Expand Up @@ -64,7 +64,7 @@ When the user selects a database not in this list they will see the old dialog a
1. `parameters_schema`: a Marshmallow schema defining the parameters needed to configure the database. For Postgres this includes username, password, host, port, etc. ([see](https://github.com/apache/superset/blob/accee507c0819cd0d7bcfb5a3e1199bc81eeebf2/superset/db_engine_specs/base.py#L1309-L1320)).
2. `default_driver`: the name of the recommended driver for the DB engine spec. Many SQLAlchemy dialects support multiple drivers, but usually one is the official recommendation. For Postgres we use "psycopg2".
3. `sqlalchemy_uri_placeholder`: a string that helps the user in case they want to type the URI directly.
4. `encryption_parameters`: parameters used to build the URI when the user opts for an encrypted connection. For Postgres this is `{"sslmode": "verify-ca"}`.
4. `encryption_parameters`: parameters used to build the URI when the user opts for an encrypted connection. For Postgres this is `{"sslmode": "require"}`.

In addition, the DB engine spec must implement these class methods:

Expand Down

0 comments on commit fd3eb8c

Please sign in to comment.