Skip to content

Conversation

@polotek
Copy link

@polotek polotek commented Dec 26, 2016

I did some minimal smoke testing of this by calling the metrics classes directly. It's a pretty straight forward port. But some real tests would make me feel a lot better.

self.values.append(value)
self.dimensions.append(dict(common_dims.items() + dim.items()))
final_dims = common_dims.copy()
final_dims.update(dims)
Copy link
Owner

Choose a reason for hiding this comment

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

This results in a runtime error:
ERROR: dictionary update sequence element #0 has length 1; 2 is required

dims = {'InstanceId': instance_id}
if xdims:
dims = dict(dims.items() + xdims.items())
dims.update(xdims)
Copy link
Owner

Choose a reason for hiding this comment

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

Not sure, if this may result in the same problem as below...

@osiegmar
Copy link
Owner

Thanks for your work! Please check the review comments.

@osiegmar
Copy link
Owner

Thanks for your valuable input! Python 3 support was added due to your help!

@osiegmar osiegmar closed this Mar 18, 2017
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