def new(batch_size=None, **options):

    if batch_size:
        new_context = AutoContext(batch_size=batch_size, **options)
    else:
        new_context = Context(**options)

    _local.get_local_context().registry.append(new_context)

    return new_context
A simple wrapper around ``create`` for a given ``content_object``.
dataset/ETHPy150Open Workiva/furious/furious/context/__init__.py/new--crossover with--dataset/ETHPy150Open caseywstark/colab/colab/apps/threadedcomments/models.py/ThreadedCommentManager.create_for_object