prayagverma / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
1 stars 0 forks source link

imlement __hash__() on gdata.data.GDEntry #601

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

resource = client.get_resource_by_id(<ID>)
resource_list =  client.get_all_resources()
#in the case that resource is in the the resources list

resource in resource_list
> False

resource.resource_id.text in [x.resource_id.text for x in resource_list]
> True 

#That sucks

What is the expected output? What do you see instead?

> True  :)

What version of the product are you using?

2.0.16

Please provide any additional information below.

Original issue reported on code.google.com by rachid.b...@gmail.com on 27 Feb 2012 at 2:28