MCPcopy Create free account
hub / github.com/StackStorm/st2 / _parse_config_file

Method _parse_config_file

st2client/st2client/base.py:204–214  ·  view source on GitHub ↗
(self, args, validate_config_permissions=False)

Source from the content-addressed store, hash-verified

202 return result
203
204 def _parse_config_file(self, args, validate_config_permissions=False):
205 config_file_path = self._get_config_file_path(args=args)
206
207 parser = CLIConfigParser(
208 config_file_path=config_file_path,
209 validate_config_exists=False,
210 validate_config_permissions=validate_config_permissions,
211 log=self.LOG,
212 )
213 result = parser.parse()
214 return result
215
216 def _get_config_file_path(self, args):
217 """

Callers 4

_print_configMethod · 0.95
runMethod · 0.80
_print_configMethod · 0.80

Calls 3

_get_config_file_pathMethod · 0.95
parseMethod · 0.95
CLIConfigParserClass · 0.90

Tested by

no test coverage detected