Dumps the configuration in `dct` to a unicode string. Args: dct (dict): Configuration represented as a dictionary. Returns: (Text) containing the configuration in given dictionary.
(self, dct)
| 459 | return text |
| 460 | |
| 461 | def dumps(self, dct): |
| 462 | """Dumps the configuration in `dct` to a unicode string. |
| 463 | |
| 464 | Args: |
| 465 | dct (dict): Configuration represented as a dictionary. |
| 466 | |
| 467 | Returns: |
| 468 | (Text) containing the configuration in given dictionary. |
| 469 | """ |
| 470 | return self._dumpdict(dct) |
| 471 | |
| 472 | def dump(self, filepath, dct): |
| 473 | """Dumps the configuration in `dct` to a file. |