def create_context(
    name: str,
    description: str = None,
    is_versioned: bool = False,
    *,
    project: Optional[str] = None,
    api_key: Optional[str] = None,
) -> None:

source code

Create a context.

Arguments:

  • name - Name of the context to create.
  • description - Description of the context to create.
  • is_versioned - Whether the context is versioned.
  • project - Name of the project the context belongs to.
  • api_key - If specified, unify API key to be used. Defaults to the value in the

Returns:

A message indicating whether the context was successfully created.