| 1 | [ |
| 2 | { |
| 3 | "func_name": "search_class", |
| 4 | "arguments": { |
| 5 | "class_name": "Product" |
| 6 | }, |
| 7 | "call_ok": true |
| 8 | }, |
| 9 | { |
| 10 | "func_name": "search_class", |
| 11 | "arguments": { |
| 12 | "class_name": "Order" |
| 13 | }, |
| 14 | "call_ok": true |
| 15 | }, |
| 16 | { |
| 17 | "func_name": "search_method_in_class", |
| 18 | "arguments": { |
| 19 | "method_name": "ForeignKey", |
| 20 | "class_name": "django.db.models.fields.related" |
| 21 | }, |
| 22 | "call_ok": false |
| 23 | }, |
| 24 | { |
| 25 | "func_name": "search_method", |
| 26 | "arguments": { |
| 27 | "method_name": "transaction.atomic" |
| 28 | }, |
| 29 | "call_ok": false |
| 30 | }, |
| 31 | { |
| 32 | "func_name": "search_code", |
| 33 | "arguments": { |
| 34 | "code_str": "ForeignKey(Product, on_delete=models.CASCADE)" |
| 35 | }, |
| 36 | "call_ok": false |
| 37 | }, |
| 38 | { |
| 39 | "func_name": "search_code", |
| 40 | "arguments": { |
| 41 | "code_str": "ForeignKey assignment behavior" |
| 42 | }, |
| 43 | "call_ok": false |
| 44 | }, |
| 45 | { |
| 46 | "func_name": "search_code", |
| 47 | "arguments": { |
| 48 | "code_str": "transaction behavior" |
| 49 | }, |
| 50 | "call_ok": false |
| 51 | }, |
| 52 | { |
| 53 | "func_name": "write_patch", |
| 54 | "arguments": {}, |
| 55 | "call_ok": true |
| 56 | } |
| 57 | ] |