Skip to content

Conversation

@ffaraone
Copy link
Collaborator

@ffaraone ffaraone commented Apr 7, 2025

No description provided.

Copy link

@arturbalabanov arturbalabanov left a comment

Choose a reason for hiding this comment

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

added two super minor comments, nothing blocking, feel free to resolve as you see fit

changes look good otherwise :)

"""
Get tuple with access args for clickhouse db
:return: ('username', 'password', 'host ip', 'db name')
"""

Choose a reason for hiding this comment

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

nitpick: can you please add the new parameter to the docstring?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

👍

params = self.read_branch('/clickhouse')
return (params['user'], params['password'], params['host'],
params['db'])
params['db'], params.get('secure', False) == "True")

Choose a reason for hiding this comment

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

Another nitpick -- worth making the string comparison case-insensitive or allow for boolean True to also be accepted to avoid potential headaches when debugging if the parameters are provided manually

Copy link
Collaborator

@antoniodimariano antoniodimariano left a comment

Choose a reason for hiding this comment

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

LGTM

@ffaraone ffaraone force-pushed the MPT-8695_support_ssl_for_clickhouse branch from 275f191 to 9273260 Compare April 7, 2025 11:43
@ffaraone ffaraone merged commit efaa48b into main Apr 7, 2025
14 checks passed
@ffaraone ffaraone deleted the MPT-8695_support_ssl_for_clickhouse branch May 13, 2025 15:14
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.

4 participants