Skip to content
Commit d1023ced 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 67de3780
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