Re: Search and Replace of string in a yaml file

2019-03-27 Thread Test Bot
Assuming you are asking about the logic at the uber level. You can try handling yaml file with pyyaml. It is a 3rd party package which has a good support for I/O related to yaml files. After you are able to read the data from the file, you need to apply your business logic to it. And log all the

Search and Replace of string in a yaml file

2019-03-23 Thread Pradeep Patra
Hi all, I have several yaml files in a directory around 100s. I have some values and my script should search a string(reading from the JSON file) from the series of yaml files and run some validation like the key of the file that is updated in the yaml file and run some basic validation tests li