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 import omero.gateway 19 return omero.gateway.BlitzGateway(*args, **kwargs)
20
21 -def client(*args, **kwargs):
22 import omero.clients 23 return omero.clients.BaseClient(*args, **kwargs)
24
25 -class ClientError(exceptions.Exception):
26 """ 27 Top of client exception hierarchy. 28 """ 29 pass
30
31 -class UnloadedEntityException(ClientError):
32 pass
33
34 -class UnloadedCollectionException(ClientError):
35 pass
36