sqlalchemy-teradata icon indicating copy to clipboard operation
sqlalchemy-teradata copied to clipboard

Make username and password optional in create_engine

Open jvs3 opened this issue 6 years ago • 0 comments

Make username and password optional in create_engine in case the user wants to do something like:

from sqlalchemy import create_engine engine = create_engine('teradata://host/?trusted_connection=yes')

This is useful if Teradata is set to use integrated security. At the moment the above example would generate a KeyError in Python.

High level description of this Pull-request

Include motivations, reasons, and background to add context to your contribution. Include a description of changes associated with your commit(s)

Related Issues

  • List all related issues or NA

Reviewers

  • Use @Mentions to specify the reviewers for your PR.

CHECKLIST:

Make sure all items are marked when you submit the pull-request.

  • [ ] Relevant documentation for functions, tests, classes, the wiki, etc. have been made
  • [ ] Necessary unit tests in tests/ pass with no errors
  • [ ] Necessary integration tests in tests/ pass with no errors
  • [ ] Update the CHANGELOG.md with a summary of your changes if requested

jvs3 avatar Jul 19 '19 20:07 jvs3