src/orion/core/io/orion_cmdline_parser.py
def _load_config(self, path):
        """Load configuration file.

        Load the configuration file associated with the `config` key. Will try to resolve a
        valid converter for the file extension (yaml, json or other). Content will be put
        inside the `self.file_priors` attribute. Once the data has been parsed from the file,
        the corresponding configuration will be created.

        Parameters
        ----------
        path: string
            Path to the configuration file.

        """
        if not os.path.exists(path):
            if self.allow_non_existing_files:
                log.info(
                    "The path specified for the script config does not exist: %s", path
                )
                return
            else:
                raise OSError(
                    errno.ENOENT,
                    "The path specified for the script config does not exist",
                    path,
                )

        self.converter = infer_converter_from_file_type(path)
        self.config_file_data = self.converter.parse(path)
        self._extraction_method[type(self.config_file_data)]("", self.config_file_data)
Load configuration file.

        Load the configuration file associated with the `config` key. Will try to resolve a
        valid converter for the file extension (yaml, json or other). Content will be put
        inside the `self.file_priors` attribute. Once the data has been parsed from the file,
        the corresponding configuration will be created.

        Parameters
        ----------
        path: string
            Path to the configuration file.

        
Load configuration file.
Load the configuration file associated with the `config` key. Will try to resolve a
valid converter for the file extension (yaml, json or other). Content will be put
inside the `self.file_priors` attribute. Once the data has been parsed from the file,
the corresponding configuration will be created.

Parameters

string
Path to the configuration file.
Load configuration file . Load the configuration file associated with the ` config ` key . Will try to resolve a valid converter for the file extension ( yaml json or other ) . Content will be put inside the ` self . file_priors ` attribute . Once the data has been parsed from the file the corresponding configuration will be created . Parameters string Path to the configuration file .
def _load_config(self, path):
        if not os.path.exists(path):
            if self.allow_non_existing_files:
                log.info(
                    "The path specified for the script config does not exist: %s", path
                )
                return
            else:
                raise OSError(
                    errno.ENOENT,
                    "The path specified for the script config does not exist",
                    path,
                )
        self.converter = infer_converter_from_file_type(path)
        self.config_file_data = self.converter.parse(path)
        self._extraction_method[type(self.config_file_data)]("", self.config_file_data)
def _load_config ( self , path ) : if not os . path . exists ( path ) : if self . allow_non_existing_files : log . info ( "The path specified for the script config does not exist: %s" , path ) return else : raise OSError ( errno . ENOENT , "The path specified for the script config does not exist" , path , ) self . converter = infer_converter_from_file_type ( path ) self . config_file_data = self . converter . parse ( path ) self . _extraction_method [ type ( self . config_file_data ) ] ( "" , self . config_file_data )
Load configuration file.
Load configuration file .
"""Load configuration file.

        Load the configuration file associated with the `config` key. Will try to resolve a
        valid converter for the file extension (yaml, json or other). Content will be put
        inside the `self.file_priors` attribute. Once the data has been parsed from the file,
        the corresponding configuration will be created.

        Parameters
        ----------
        path: string
            Path to the configuration file.

        """
self
path