def datasets(self, search=None, fields=('<STR_LIT:description>', '<STR_LIT>')):
j, _ = self.request('<STR_LIT:GET>', '<STR_LIT>')<EOL>if search:<EOL><INDENT>return list(search_dicts(j, search, fields))<EOL><DEDENT>else:<EOL><INDENT>return j<EOL><DEDENT>
::

    GET /:login/datasets

:param search: optionally filter (locally) with a regular expression 
    search on the listed fields
:type search: :py:class:`basestring` that compiles as a regular 
    expression

:param fields: filter on the listed fields (defaulting to 
    ``description`` and ``urn``)
:type fields: :py:class:`list` of :py:class:`basestring`\s

:Returns: datasets (operating system templates) available in this 
    datacenter 
:rtype: :py:class:`list` of :py:class:`dict`\s