I want to call im1.py's want_to_call() method from im2.py Test's class func1() and func1() will be called by im1's some_func() method.... Your help will be appreciated.
im1.py
from im2 import Test
def some_func(value):
    Test.func1()
    print(value)
def want_to_call():
    return 'called from im2'
some_func("ola")
im2.py
from im1 import want_to_call
class Test:
    def func1():
        variable = want_to_call()
        print(variable)
        print('How do I call want_to_call method in im1')
class Test1:
    def func():
        print('Thanks in advance')
 
     
    