Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)

src/o/p/OpenRelay-HEAD/apps/server_talk/api.py   OpenRelay(Download)
from server_talk.models import LocalNode, Sibling, NetworkResourceVersion
from server_talk.conf.settings import PORT, IPADDRESS
from server_talk.exceptions import (AnnounceClientError, NoSuchNode,
    HeartbeatError, InventoryHashError, ResourceListError,
    NetworkResourceNotFound, NetworkResourceDownloadError)
        except requests.ConnectionError:
            logger.error('unable to connect to url: %s' % url)
            raise InventoryHashError('Unable to query node')
 
    def resource_list(self):

src/o/p/OpenRelay-HEAD/apps/server_talk/tasks.py   OpenRelay(Download)
from openrelay_resources.literals import TIMESTAMP_SEPARATOR
 
from server_talk.exceptions import HeartbeatError, InventoryHashError
from server_talk.api import RemoteCall
from server_talk.models import LocalNode, Sibling, NetworkResourceVersion, ResourceHolder