45
45
>>> resource = dict(geddy='bass', alex='guitar', neil='drums')
46
46
>>> json_data = etag(resource)
47
47
>>> print(resource['http_etag'])
50
50
For convenience, the etag function also returns the JSON representation of the
51
51
dictionary after tagging, since that's almost always what you want.