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