betodealmeida commented on PR #35161:
URL: https://github.com/apache/superset/pull/35161#issuecomment-3303878846

   > @betodealmeida the problem is that snowflake can't connect for 6.0 right 
now. When trying to do so, there is an error saying there we should have 2 
arguments but were given 3. If this isn't the right solution, i can dive in a 
bit more
   
   @sadpandajoe I think the problem is that we currently have in Preset this:
   
   ```python
       @classmethod
       def get_extra_params(cls, database: "Database") -> dict[str, Any]:
           """
           Add a user agent to be used in the requests.
           """
   ```
   
   So it's missing the `source` argument; instead it should be:
   
   ```python
       @classmethod
       def get_extra_params(cls, database: "Database", source: QuerySource | 
None = None) -> dict[str, Any]:
           """
           Add a user agent to be used in the requests.
           """
   ```


-- 
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: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to