def create_compute_worker_config(
        self,
        worker_config: Optional[Dict[str, Any]] = None,
        lightly_config: Optional[Dict[str, Any]] = None,
        selection_config: Optional[Union[Dict[str, Any], SelectionConfigV4]] = None,
    ) -> str:
        """Creates a new configuration for a Lightly Worker run.

        See our docs for more information regarding the different configurations:
        https://docs.lightly.ai/docs/all-configuration-options

        Args:
            worker_config:
                Lightly Worker configuration.
            lightly_config:
                Lightly configuration.
            selection_config:
                Selection configuration.

        Returns:
            The ID of the created config.

        Examples:
            >>> client = ApiWorkflowClient(token="MY_AWESOME_TOKEN")
            >>> selection_config = {
            ...     "n_samples": 3,
            ...     "strategies": [
            ...         {
            ...             "input": {"type": "RANDOM", "random_seed": 42},
            ...             "strategy": {"type": "WEIGHTS"},
            ...         }
            ...     ],
            ... }
            >>> config_id = client.create_compute_worker_config(
            ...     selection_config=selection_config,
            ... )

        :meta private:  # Skip docstring generation
        """
        if isinstance(selection_config, dict):
            selection = selection_config_from_dict(cfg=selection_config)
        else:
            selection = selection_config

        if worker_config is not None:
            worker_config_cc = _config_to_camel_case(cfg=worker_config)
            deserialize_worker_config = _get_deserialize(
                api_client=self.api_client,
                klass=DockerWorkerConfigV4Docker,
            )
            docker = deserialize_worker_config(worker_config_cc)
            _validate_config(cfg=worker_config, obj=docker)
        else:
            docker = None

        if lightly_config is not None:
            lightly_config_cc = _config_to_camel_case(cfg=lightly_config)
            deserialize_lightly_config = _get_deserialize(
                api_client=self.api_client,
                klass=DockerWorkerConfigV3Lightly,
            )
            lightly = deserialize_lightly_config(lightly_config_cc)
            _validate_config(cfg=lightly_config, obj=lightly)
        else:
            lightly = None

        config = DockerWorkerConfigV4(
            worker_type=DockerWorkerType.FULL,
            docker=docker,
            lightly=lightly,
            selection=selection,
        )
        request = DockerWorkerConfigOmniVXCreateRequest.from_dict(
            {
                "version": "V4",
                "config": config.to_dict(by_alias=True),
                "creator": self._creator,
            }
        )
        response = self._compute_worker_api.create_docker_worker_config_vx(request)
        return response.id
Creates a new configuration for a Lightly Worker run.

        See our docs for more information regarding the different configurations:
        https://docs.lightly.ai/docs/all-configuration-options

        Args:
            worker_config:
                Lightly Worker configuration.
            lightly_config:
                Lightly configuration.
            selection_config:
                Selection configuration.

        Returns:
            The ID of the created config.

        Examples:
            >>> client = ApiWorkflowClient(token="MY_AWESOME_TOKEN")
            >>> selection_config = {
            ...     "n_samples": 3,
            ...     "strategies": [
            ...         {
            ...             "input": {"type": "RANDOM", "random_seed": 42},
            ...             "strategy": {"type": "WEIGHTS"},
            ...         }
            ...     ],
            ... }
            >>> config_id = client.create_compute_worker_config(
            ...     selection_config=selection_config,
            ... )

        :meta private:  # Skip docstring generation
        
lightly/api/api_workflow_compute_worker.py