def create_contexts(
    contexts: List[Union[Dict[str, str], str]],
    *,
    project: Optional[str] = None,
    api_key: Optional[str] = None,
) -> None:

source code

Create multiple contexts. Arguments:
  • contexts - List of contexts to create. Each context can be a list of context names or a dictionary with the following keys, only the name is required:
  • project - Name of the project the contexts belong to.
  • api_key - If specified, unify API key to be used. Defaults to the value in the
Returns: A message indicating whether the contexts were successfully created.