Skip to content

PYTHON-583: Add API to get the host metadata associated with the control connection node#596

Merged
aboudreault merged 2 commits into
masterfrom
583
Jun 9, 2016
Merged

PYTHON-583: Add API to get the host metadata associated with the control connection node#596
aboudreault merged 2 commits into
masterfrom
583

Conversation

@aboudreault
Copy link
Copy Markdown
Contributor

@aboudreault aboudreault commented Jun 9, 2016

PYTHON-583

@aboudreault aboudreault changed the title Add API to get the host metadata associated with the control connection node PYTHON-583: Add API to get the host metadata associated with the control connection node Jun 9, 2016
Comment thread cassandra/cluster.py Outdated
"""
Returns the control connection host metadata.
"""
connection = getattr(self.control_connection, '_connection')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm just curious why this is getattr instead of direct access.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@aholmberg
Copy link
Copy Markdown
Contributor

+1 (with 1 minor question)

@aboudreault aboudreault merged commit f2df340 into master Jun 9, 2016
@aboudreault aboudreault deleted the 583 branch June 17, 2016 17:33
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.

2 participants