Skip to content

Conversation

@stepansergeevitch
Copy link
Contributor

Implemented connect function, which takes a list of connection parameters and returns database connection.
Allowed to pass engine_name rather than engine_url to connect function.
Engine url is resolved using resource manager
Added unit and integration tests
Updated examples.ipynb

Copy link
Contributor

@eg-firebolt eg-firebolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, left a handful of minor comments/nits

nice test coverage

else:
engine_url = endpoint

assert engine_url is not None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just for mypy check, should never really fail.
I'll think of a another way

@stepansergeevitch stepansergeevitch merged commit 62d2339 into master Oct 21, 2021
@stepansergeevitch stepansergeevitch deleted the FIR-8531-allow-passing-engine-name-rathe branch October 21, 2021 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants