rasgointelligence/RasgoQL

Document connecting to data warehouses using dictionary args

Opened this issue · 2 comments

What feature are you requesting?

There aren't any docs on connecting to a data warehouse using a dictionary. The current credential classes are limited and gave the impression I wouldn't be able to connect to my warehouse

Are you using a workaround to do it in or outside of the product today?

Read the code and figured it out

How important is this feature to your continued use of the package? Can you qualify the value / importance of this feature in any way?

I think this is pretty important since it gave me the impression I couldn't use this product

just to clarify, I had to connect like this:

config = {
    "user": "person@qoz.com",
    "authenticator": "externalbrowser",
    "account": "corge.us-east-1",
    "warehouse": "QUX_WH",
    "database": "BAZ_PRODUCTION",
    "schema": "BAR_REPLICA",
    "role": "FOO_ROLE"
}

rql = RasgoQL(connection=SnowflakeDataWarehouse, credentials=config)

@pbarker Thanks for using RasgoQL! It seems to me that you're asking for clarification around ways to pass connection information to the RasgoQL class? I think adding documentation around the use of the credentials arg makes sense, and we can look at adding that sooner than later.

Is that the crux of the issue in your opinion, or do you think there should be other changes involved?