This class serves as a delegate for the intermine.webservice.Service
class, managing list content and operations.
This class is not meant to be called itself, but rather for its
methods to be called by the service object.
|
__init__(self,
service)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
refresh_lists(self)
Update the list information with the latest details from the server |
source code
|
|
|
get_list(self,
name)
Return a list from the service by name, if it exists |
source code
|
|
|
|
|
get_all_lists(self)
Get all the lists on a webservice |
source code
|
|
|
get_all_list_names(self)
Get all the names of the lists in a particular webservice |
source code
|
|
|
|
|
get_unused_list_name(self)
Get a list name that does not conflict with any lists you have access
to |
source code
|
|
intermine.lists.List
|
create_list(self,
content,
list_type='
' ,
name=None,
description=None,
tags=[ ] )
If no name is given, the list will be considered to be a temporary
list, and will be automatically deleted when the program ends. |
source code
|
|
|
parse_list_upload_response(self,
response)
Intepret the response from the webserver to a list request, and
return the List it describes |
source code
|
|
|
delete_lists(self,
lists)
Delete the given lists from the webserver |
source code
|
|
|
delete_temporary_lists(self)
Delete all the lists considered temporary (those created without
names) |
source code
|
|
|
intersect(self,
lists,
name=None,
description=None,
tags=[ ] )
Calculate the intersection of a given set of lists, and return the
list representing the result |
source code
|
|
|
union(self,
lists,
name=None,
description=None,
tags=[ ] )
Calculate the union of a given set of lists, and return the list
representing the result |
source code
|
|
|
xor(self,
lists,
name=None,
description=None,
tags=[ ] )
Calculate the symmetric difference of a given set of lists, and
return the list representing the result |
source code
|
|
|
subtract(self,
lefts,
rights,
name=None,
description=None,
tags=[ ] )
Calculate the subtraction of rights from lefts, and return the list
representing the result |
source code
|
|
|
_do_operation(self,
path,
operation,
lists,
name,
description,
tags) |
source code
|
|
|
make_list_names(self,
lists)
Turn a list of things into a list of list names |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|