Function
_extract_args_and_kwargs
(node: ast.Call, context: EvaluationContext)
Source from the content-addressed store, hash-verified
| 725 | return None |
| 726 | |
| 727 | def _extract_args_and_kwargs(node: ast.Call, context: EvaluationContext): |
| 728 | args = [eval_node(arg, context) for arg in node.args] |
| 729 | kwargs = { |
| 730 | k: v |
| 731 | for kw in node.keywords |
| 732 | for k, v in ( |
| 733 | {kw.arg: eval_node(kw.value, context)} |
| 734 | if kw.arg |
| 735 | else eval_node(kw.value, context) |
| 736 | ).items() |
| 737 | } |
| 738 | return args, kwargs |
| 739 | |
| 740 | |
| 741 | def _is_instance_attribute_assignment( |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…