(self, filepath, headers = {}, expected_status_code = 200)
| 999 | return self.execute_query(q, "/v1/metadata", headers, expected_status_code) |
| 1000 | |
| 1001 | def v1metadataq_f(self, filepath, headers = {}, expected_status_code = 200): |
| 1002 | with open(filepath) as f: |
| 1003 | # NOTE: preserve ordering with ruamel |
| 1004 | yml = yaml.YAML() |
| 1005 | return self.v1metadataq(yml.load(f), headers, expected_status_code) |
| 1006 | |
| 1007 | def v1graphqlq(self, q, headers = {}, expected_status_code = 200): |
| 1008 | return self.execute_query(q, "/v1/graphql", headers, expected_status_code) |