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

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/o/p/OpenRelay-HEAD/apps/server_talk/__init__.py   OpenRelay(Download)
    INVENTORY_QUERY_INTERVAL)
from server_talk.models import LocalNode
from server_talk.api import NetworkCall
 
logger = logging.getLogger(__name__)
            node.comment = name_comment
            node.save()
            network = NetworkCall()
            network.publish_key(key)
        except Exception, msg:

src/o/p/OpenRelay-HEAD/apps/openrelay_resources/views.py   OpenRelay(Download)
from core.runtime import gpg
 
from server_talk.api import NetworkCall
from server_talk.exceptions import NetworkResourceNotFound
 
def resource_serve(request, uuid):
    try:
        resource = Resource.objects.get(uuid=uuid)
    except Resource.DoesNotExist:
        network = NetworkCall()

src/o/p/OpenRelay-HEAD/apps/django_gpg/views.py   OpenRelay(Download)
from django.core.urlresolvers import reverse
 
from server_talk.api import NetworkCall
from server_talk.models import LocalNode
from queue_manager import Queue
        if form.is_valid():
            try:
                network = NetworkCall()
                key = Key.get(gpg, form.cleaned_data['key'])
                network.publish_key(key)