Support resolve_call_path
resolution for same-file definitions
#5486
Labels
core
Related to core functionality
resolve_call_path
resolution for same-file definitions
#5486
If a user specifies a
classmethod
decorator or other setting based on a call path, we only respect that call path when the decorator is imported.For example, if the file is
foo.py
, and user defines a method like:Then if the user lists
"foo.bar"
as a call path for a call path-based setting, we only respect it in files thatimport foo
orfrom foo import bar
etc. -- we wouldn't respect it infoo.py
itself.The text was updated successfully, but these errors were encountered: