def __init__(self, field):
        if isinstance(field, type):
            self.field = field()
        else:
            self.field = field
:param field: a single field with which to marshal the output.
dataset/ETHPy150Open flask-restful/flask-restful/flask_restful/__init__.py/marshal_with_field.__init__