def configs(self):
raise NotImplementedError<EOL>r = fapi.get_configs(self.namespace, self.name, self.api_url)<EOL>fapi._check_response_code(r, <NUM_LIT:200>)<EOL>cdata = r.json()<EOL>configs = []<EOL>for c in cdata:<EOL><INDENT>cnamespace = c['<STR_LIT>']<EOL>cname = c['<STR_LIT:name>']<EOL>root_etype = c['<STR_LIT>']<EOL>method_namespace = c['<STR_LIT>']['<STR_LIT>']<EOL>method_name = c['<STR_LIT>']['<STR_LIT>']<EOL>method_version = c['<STR_LIT>']['<STR_LIT>']<EOL><DEDENT>
Get method configurations in a workspace.