"""Solvebio DatasetField API Resource"""
from ..client import client

from .solveobject import convert_to_solve_object
from .apiresource import CreateableAPIResource, ListableAPIResource, \
    UpdateableAPIResource


class DatasetField(CreateableAPIResource, ListableAPIResource,
                   UpdateableAPIResource):
    """
    Each SolveBio dataset has a different set of fields, some of
    which can be used as filters. Dataset field resources provide
    users with documentation about each field.
    """
    def facets(self, **params):
        response = client.get(self.facets_url, params)
        return convert_to_solve_object(response)

    def help(self):
        return self.facets()

@@ -162,106 +162,254 @@
 urce
-, ListableAPIResource, %5C%0A    UpdateableAPIResource%0A%0A%0Aclass DatasetField(CreateableAPIResource, Lis
+%0Afrom .apiresource import ListableAPIResource%0Afrom .apiresource import UpdateableAPIResource%0Afrom .apiresource import DeletableAPIResource%0A%0A%0Aclass DatasetField(CreateableAPIResource,%0A                   ListableAPIResource,%0A                   Dele
 tabl

add deletable mixin to dataset fields