def get_sensor_config(self, sensor_file_path):
        """
        Retrieve config for a particular sensor inside the content pack.

        :param sensor_file_path: Full absolute path to the sensor file.
        :type sensor_file_path: ``str``

        :return: Config object if config is found, ``None`` otherwise.
        :rtype: :class:`.ContentPackConfig` or ``None``
        """
        global_config_path = self.get_global_config_path()
        config = self.get_and_parse_config(config_path=global_config_path)

        return config

        Retrieve config for a particular sensor inside the content pack.

        :param sensor_file_path: Full absolute path to the sensor file.
        :type sensor_file_path: ``str``

        :return: Config object if config is found, ``None`` otherwise.
        :rtype: :class:`.ContentPackConfig` or ``None``
        
st2common/st2common/util/config_parser.py