Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #5168 (closed)

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

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 8 years ago by wmoore

  • Milestone changed from OMERO-Beta4.3 to OMERO-Beta4.3.1
  • Sprint 2011-05-19 (12) deleted

Since this will not change the API for users - it can be left for 4.3.1

comment:2 Changed 8 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 8 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 8 years ago by wmoore

wjm:OmeroPy will$ python test/gatewaytest/get_objects.py
...


Ran 13 tests in 144.381s

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.77153 sec.)

We're Hiring!