Package omero
[hide private]
[frames] | no frames]

Source Code for Package omero

 1  #!/usr/bin/env python 
 2  """ 
 3     Primary OmeroPy types 
 4   
 5     Classes: 
 6        - omero.client    -- Main OmeroPy connector object 
 7   
 8     Copyright 2007, 2008 Glencoe Software, Inc. All rights reserved. 
 9     Use is subject to license terms supplied in LICENSE.txt 
10   
11  """ 
12   
13  import exceptions 
14   
15  __import_style__ = None 
16   
17 -def client_wrapper(*args, **kwargs):
18 """ 19 Returns an instance of L{omero.gateway.BlitzGateway} created with all arguments passed to this method 20 21 @return: See above 22 """ 23 import omero.gateway 24 return omero.gateway.BlitzGateway(*args, **kwargs)
25
26 -def client(*args, **kwargs):
27 import omero.clients 28 return omero.clients.BaseClient(*args, **kwargs)
29
30 -class ClientError(exceptions.Exception):
31 """ 32 Top of client exception hierarchy. 33 """ 34 pass
35
36 -class UnloadedEntityException(ClientError):
37 pass
38
39 -class UnloadedCollectionException(ClientError):
40 pass
41