def METHOD_NAME(org: Organization) -> RpcOrganization:
    rpc_org: RpcOrganization = RpcOrganization(
        slug=org.slug,
        id=org.id,
        flags=_serialize_flags(org),
        name=org.name,
        status=int(org.status),
        default_role=org.default_role,
    )
    projects: List[Project] = Project.objects.filter(organization=org)
    teams: List[Team] = Team.objects.filter(organization=org)
    rpc_org.projects.extend(serialize_project(project) for project in projects)
    rpc_org.teams.extend(serialize_rpc_team(team) for team in teams)
    return rpc_org