ocs_ci/ocs/ocp.py
def apply(self, yaml_file):
        """
        Applies configuration changes to a resource

        Args:
            yaml_file (str): Path to a yaml file to use in 'oc apply -f
                file.yaml

        Returns:
            dict: Dictionary represents a returned yaml file
        """
        command = f"apply -f {yaml_file}"
        return self.exec_oc_cmd(command)

        Applies configuration changes to a resource

        Args:
            yaml_file (str): Path to a yaml file to use in 'oc apply -f
                file.yaml

        Returns:
            dict: Dictionary represents a returned yaml file
        
Applies configuration changes to a resource
Applies configuration changes to a resource
def apply(self, yaml_file):
        command = f"apply -f {yaml_file}"
        return self.exec_oc_cmd(command)
def apply ( self , yaml_file ) : command = f"apply -f {yaml_file}" return self . exec_oc_cmd ( command )
Applies configuration changes to a resource
Applies configuration changes to a resource
"""
        Applies configuration changes to a resource

        Args:
            yaml_file (str): Path to a yaml file to use in 'oc apply -f
                file.yaml

        Returns:
            dict: Dictionary represents a returned yaml file
        """
Dictionary represents a returned yaml file
Dictionary represents a returned yaml file
dict
self
yaml_file
Path to a yaml file to use in 'oc apply -f
file.yaml
Path to a yaml file to use in ' oc apply - f file . yaml