pywasp.wasp.Config.read_file
- classmethod Config.read_file(filepath)[source]
Initialize class from exported JSON file
- Parameters:
filepath (
str
orpathlib.Path
) – Path to file- Returns:
self (
self
) – Object filled with the requested fields
Initialize class from exported JSON file
filepath (str
or pathlib.Path
) – Path to file
self (self
) – Object filled with the requested fields