def METHOD_NAME(cls, owner, size=10):
    q = OwnerFileQuery(owner)
    try:
        res = cls.query(q=q.query())
    except ESMappingMissingError:
        return []
    rs = [FileUpload(**r.get("_source")) for r in res.get("hits", {}).get("hits", [])]
    return rs