(self, resource, **fields)
Construct a fields object. 
        While each Resource can define their own fields, certain fields are always added.

        when - a conditional to decide if the resource is to be executed.  For collections, this condition
        is applied to the whole collection (FIXME) before traversing any element in the collection.

        method - used on any resource to explicitly select a provider class rather than using
        the default provider figured out by the resource.  For an example see opsmop.types.package.Package

        ignore_errors - if the return is a fatal result object, ignore it anyway
Construct a fields object. 
        While each Resource can define their own fields, certain fields are always added.
Construct a fields object . While each Resource can define their own fields certain fields are always added .
def __init__(self, resource, **fields):

        """
        Construct a fields object. 
        While each Resource can define their own fields, certain fields are always added.

        when - a conditional to decide if the resource is to be executed.  For collections, this condition
        is applied to the whole collection (FIXME) before traversing any element in the collection.

        method - used on any resource to explicitly select a provider class rather than using
        the default provider figured out by the resource.  For an example see opsmop.types.package.Package

        ignore_errors - if the return is a fatal result object, ignore it anyway
        """

        self.fields = fields
        for (k,v) in self.common_field_spec(resource).items():
            self.fields[k] = v
def __init__ ( self , resource , * * fields ) : self . fields = fields for ( k , v ) in self . common_field_spec ( resource ) . items ( ) : self . fields [ k ] = v