Task #4897 (closed)
Opened 13 years ago
Closed 13 years ago
Document __getattr__() behaviour
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.3 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-04-21 (10) |
Description (last modified by wmoore)
Write tests for BlitzObjectWrapper?.getattr() and document behaviour of accessing underlying ._obj methods.
E.g. printing out the results of method calls on imageWrapper:
id 4210 getId() 4210 name weblitz_test_priv_image getName() weblitz_test_priv_image acquisitionDate 1300917102000 getAcquisitionDate() <class 'omero.rtypes.RTimeI'> archived False getArchived() <class 'omero.rtypes.RBoolI'> format <class 'omero.model.FormatI'> getFormat() <class 'omero.model.FormatI'> instrument <class 'omero.model.InstrumentI'> getInstrument() <_InstrumentWrapper id=706> pixelsLoaded True getPrimaryPixels() <class 'omero.model.PixelsI'>
Change History (4)
comment:1 Changed 13 years ago by wmoore
- Status changed from new to accepted
comment:2 Changed 13 years ago by wmoore
- Description modified (diff)
comment:3 Changed 13 years ago by cxallan
- Sprint changed from 2011-04-07 (9) to 2011-04-21 (10)
comment:4 Changed 13 years ago by wmoore
- Remaining Time changed from 1 to 0
- Resolution set to fixed
- Status changed from accepted to closed
Decided in meeting today that methods on wrapped objects should only return wrapped objects (not omero.model objects as currently).
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Moved from sprint 2011-04-07 (9)