def METHOD_NAME(partner_id: int):
    """Get all members of a partner.
    Accepts Query Parameters for pagination:
    per_page: number of results per page
    page: page number
    """
    args = request.args
    q_page = args.get("page", 1, type=int)
    q_per_page = args.get("per_page", 20, type=int)
    # partner = Partner.get(partner_id)
    all_members = db.session.query(PartnerMember).filter(
        PartnerMember.partner_id == partner_id
    )
    results = all_members.paginate(
        page=q_page, per_page=q_per_page, max_per_page=100)
    return {
        "results": [
            partner_member_orm_to_json(member)
            for member in results.items
        ],
        "page": results.page,
        "totalPages": results.pages,
        "totalResults": results.total,
    }