-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MRG] Add sqlserver database adapter #240
Conversation
9b2d75e
to
06d3410
Compare
|
||
def __init__(self, connection_string, production, certificate_path): | ||
self.connection_string = connection_string | ||
self.local_storage = threading.local() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The production
and certificate_path
variables are not being used here, although they may be required for some production environments. Or are these parameters also included in the connection string if needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have been reviewing the Azure SQL documentation and it appears that using a certificate path is not a requirement, even for production environments.
return InsertionResponse(response, ex) | ||
|
||
def insert_one_to_unique_dataset(self, database_name, table_name, item): # Needs more discussion. | ||
return self.insert_one_to_dataset(database_name, table_name, item) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joaquingx In what sense does this require more discussion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears that this function is not being utilized as intended. We will need to discuss to address the appropriate use of this function in future implementations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done!
Description
Please include a summary of the changes, relevant motivation and context.
Issue
Checklist before requesting a review