Python modüller arası request nasıl yapılır?

Modülmün adı ve içinde bulunanlar:
proxy_creator
init.py

from .view import take_proxy

view.py

import requests
from proxy_manager_g4 import ProxyManager
from proxy_manager_g4.consts import PROTOCOL_HTTPS


class take_proxy:

    def __init__(self, site_name="https://www.google.com.tr/"):
        self.count = 0
        for x in range(1000):
            if self.count==1:
                break
            else:
                try:
                    self.req_contrl(site_name)
                except:
                    pass

    def req_contrl(self, site_name="https://www.google.com.tr/"):
        proxy_manager = ProxyManager(protocol=PROTOCOL_HTTPS, anonymity=True)
        proxy = proxy_manager.get_random()

        proxyies = {"http": f"http://username:password@{proxy}",
                    "https": f"http://username:password@{proxy}"}

        url = site_name

        r = requests.get(url, proxies=proxyies, timeout=(3.05, 7000))

        if r.status_code == 200:
            self.count += 1
            return proxy


        else:
            pass

main.py

from proxy_creator import take_proxy
proxy = take_proxy("https://www.facebook.com/")
print(proxy)

Request oluyor lakin obje olarak geliyor,obje ise <proxy_creator.view.take_proxy object at 0x00000259905BEF40> olarak görünüyor. Bunu nasıl normal string e çeviririm?