(self, profile)
| 367 | |
| 368 | |
| 369 | def getAPIaddress(self, profile): |
| 370 | key = self.getconfigfile() |
| 371 | config_dict = toml.load(key) |
| 372 | |
| 373 | if config_dict['profiles'][profile]['api_server'] != "": |
| 374 | return config_dict['profiles'][profile]['api_server'] |
| 375 | else: |
| 376 | return None |
| 377 | |
| 378 | def getCert(self, profile): |
| 379 | key = self.getconfigfile() |