You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the spot in the aws sdk where this is defined, but based on the git blame it seems to be coming from somewhere else and I'm not sure where; after asking about this on the Slack, I was directed to post an issue here. I'm glad to make the actual change if that would be easiest.
The text was updated successfully, but these errors were encountered:
Problem description
Affected product version(s)
N/A (Or: Python SDK)
Suggestions for a fix
Currently there is this example on the page:
The last couple lines there took me a while to interpret. The most direct Pythonic translation would be to utilize
enumerate
:Arguably, using a list comprehension would be even more Pythonic, although some folks feel they make things too complex:
Here's an overall comparison of the approaches, using a mocked simplification of the data, if you find looking at example output helpful:
I found the spot in the aws sdk where this is defined, but based on the git blame it seems to be coming from somewhere else and I'm not sure where; after asking about this on the Slack, I was directed to post an issue here. I'm glad to make the actual change if that would be easiest.
The text was updated successfully, but these errors were encountered: