Skip to content
Commit 2f4b42a1 authored by Douglas Raillard's avatar Douglas Raillard
Browse files

exekall.engine: Avoid overwriting annotations for "self"

If the first parameter of a method is already annotated, keep the annotation as
it is instead of forcefully feeding our own. This allows pre-resolving the type,
in the cases where the method was monkey patched, and therefore do not have the
class in its __globals__.
parent 710993a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment