YamlParser¶
The YamlParser
manages all the interactions with Cassandra.
Import¶
from primeight.parser import YamlParser
Methods¶
parse¶
Read and parse the contents of a Yaml file. This method also validates that the Yaml file has the correct format.
Parameters:
- path
str or pathlib.Path
[Required]: path to the Yaml configuration.
Return: Dict