..
  SPDX-License-Identifier: CC-BY-4.0
  Copyright Contributors to the OpenColorIO Project.
  Do not edit! This file was automatically generated by share/docs/frozendoc.py.

.. py:function:: AddColorSpace(config: PyOpenColorIO.Config, name: str, transformFilePath: str, categories: str = '', connectionColorSpaceName: str) -> None
   :module: PyOpenColorIO.ColorSpaceHelpers

   Add a new color space to the config instance. The output of the userTransform must be in the specified connectionColorSpace.

   Note: If the config does not already use categories, we do not add them since that would make a big change to how existing color spaces show up in menus.

