title: python marshmallow to take fields.Int() or fields.Str()
body: <p>I am receiving data from another source that sometimes sends an int, and sometimes a string for a given variable: location. 
  For example, they will 1, or 2, or 3 for ints or they will send "building" or "car" or "bus" as an example.</p>
  
  <p>I tried </p>
  
  <pre><code>location = fields.Int(allow_string=True, strict=False)
  </code></pre>
  
  <p>which gives the following error </p>
  
  <blockquote>
    <p>marshmallow.exceptions.ValidationError: {'status': ['Not a valid
    integer.']}</p>
  </blockquote>
  
  <p>and </p>
  
  <pre><code>location = fields.Str(allow_int=True, strict=False)
  </code></pre>
  
  <p>which gives the following error</p>
  
  <blockquote>
    <p>marshmallow.exceptions.ValidationError: {'status': ['Not a valid
    string.']}</p>
  </blockquote>
  
  <p>but they both do not work for both types. Is there a way to accept both types: strings and ints?</p>