Skip to content

Instantly share code, notes, and snippets.

@hello-josh
Created July 14, 2015 16:01
Show Gist options
  • Save hello-josh/23806403a594ea0e9811 to your computer and use it in GitHub Desktop.
Save hello-josh/23806403a594ea0e9811 to your computer and use it in GitHub Desktop.
Probably the best code I've seen in July
messages = lib.messaging.get_all_messages(opaqueID)
message_count = 0
for message in messages:
message_count = message_count + 1
metrics['message_count'] = mesage_count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment