danielfernandez opened a new issue, #25023:
URL: https://github.com/apache/superset/issues/25023

   Using Superset 2.1.0, I'm trying to add a new db spec and using 
`BasicParametersMixin` so that a form is shown at database creation time with 
all the parameters in separate inputs.
   
   ```python
   class MyEngineSpec(BaseEngineSpec, BasicParametersMixin):


       engine = "myengine"
   
    engine_name = "My Engine"
   

    default_driver = ""
   
    sqlalchemy_uri_placeholder = (

           "my://user:password@host:port/dbname[?key=value&key=value...]"
   
    )
   
    encryption_parameters = {"sslmode": "require"}

       ...
   ```
   
   My SQL Alchemy dialect does **not** need the specification of a driver, and 
therefore I've set `default_driver` to the empty string. I've tried that and 
also `None`, but Superset will not show me the form corresponding with the 
`BasicParametersMixin` unless I set a non-empty value in `default_driver`... 
which is wrong and makes SQL Alchemy fail because my dialect does not need any 
driver names.
   
   Is there any way I can work around this issue?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to