| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
UserDict.DictMixin --+
|
Registry
Registries are web-services that mines can automatically register themselves with, and thus enable service discovery by clients.
example:
from intermine.webservice import Registry
# Connect to the default registry service
# at www.intermine.org/registry
registry = Registry()
# Find all the available mines:
for name, mine in registry.items():
print name, mine.version
# Dict-like interface for accessing mines.
flymine = registry["flymine"]
# The mine object is a Service
for gene in flymine.select("Gene.*").results():
process(gene)
This class is meant to aid with interoperation between mines by allowing them to discover one-another, and allow users to always have correct connection information.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
MINES_PATH =
|
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Mar 21 13:40:33 2013 | http://epydoc.sourceforge.net |