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

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

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 ResourceListError('Unable to query node')
    def heartbeat(self):