Task #5168 (closed)
use findByQuery() for getObject()
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | major | Milestone: | OMERO-Beta4.3.2 |
Component: | OmeroPy | Version: | n.a. |
Keywords: | n.a. | Cc: | python-team@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | n.a. |
Description
The Blitz gateway getObject() should use iQuery.findByQuery() to query the server, so that if multiple results are found, this is handled on the server instead of the client.
Change History (4)
comment:1 Changed 13 years ago by wmoore
- Milestone changed from OMERO-Beta4.3 to OMERO-Beta4.3.1
- Sprint 2011-05-19 (12) deleted
comment:2 Changed 13 years ago by wmoore
- Milestone changed from OMERO-Beta4.3.1 to OMERO-Beta4.3.2
- Sprint 2011-07-07 (1) deleted
comment:3 Changed 13 years ago by Will Moore <will@…>
- Remaining Time changed from 0.2 to 0
- Resolution set to fixed
- Status changed from new to closed
(In [d3c5b3f1543e9cdb4f756d060313f706462f2b0e/ome.git] on branch develop) blitz getObject() uses findByQuery. Closes #5168
comment:4 Changed 13 years ago by wmoore
wjm:OmeroPy will$ python test/gatewaytest/get_objects.py
...
Ran 13 tests in 144.381s
Since this will not change the API for users - it can be left for 4.3.1