def METHOD_NAME(organisation) -> List[int]:
    # We need to do this to prevent Django from generating a query that
    # references the environments and projects tables,
    # as they do not exist in the analytics database.
    return [
        e.id for e in Environment.objects.filter(project__organisation=organisation)
    ]