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 noirbizarre/flask-restplus/flask_restplus/marshalling.py/marshal_with_field.__init__