예제 #1
0
    def __init__(self, service_url):
        from Acquire.Client import Wallet

        wallet = Wallet()

        self._service = wallet.get_service(service_url=f"{service_url}/hugs")
        self._service_url = service_url
예제 #2
0
    def __init__(self, service_url=None):
        wallet = Wallet()

        if service_url is None:
            service_url = "https://hugs.acquire-aaai.com/t"

        self._service = wallet.get_service(service_url=f"{service_url}/hugs")

        self._before_ranking = {}
예제 #3
0
파일: _search.py 프로젝트: hugs-cloud/hugs
    def __init__(self, service_url=None):
        if service_url:
            self._service_url = service_url
        else:
            self._service_url = "https://hugs.acquire-aaai.com/t"

        wallet = Wallet()
        self._service = wallet.get_service(
            service_url=f"{self._service_url}/hugs")
예제 #4
0
파일: _process.py 프로젝트: hugs-cloud/hugs
    def __init__(self, service_url=None):
        """ Process a datafile using the passed user account

            service_url = "https://hugs.acquire-aaai.com/t"

            Args:
                service_url: URL of service
        """
        if service_url:
            self._service_url = service_url
        else:
            self._service_url = "https://hugs.acquire-aaai.com/t"

        wallet = Wallet()
        self._service = wallet.get_service(service_url=f"{self._service_url}/hugs")