; Python call extraction queries
; Captures: @node (call expression), @callee (function/method name)

; foo(args) — direct function call
(call
  function: (identifier) @callee) @node

; obj.method(args) — attribute/method call
(call
  function: (attribute
    attribute: (identifier) @callee)) @node
