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

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/a/s/astral-HEAD/astral/api/handlers/tickets.py   astral(Download)
                    source_node_data = NodesAPI(node.uri()).get(
                            Node.absolute_url(source))
                    source = Node.from_dict(source_node_data)
                return Ticket(stream=stream, source=source,
                        source_port=ticket_data['source_port'],
                    raise HTTPError(404)
                else:
                    destination = Node.from_dict(node_data)
            if not destination:
                log.debug("Couldnt find node with UUID %s anywhere",

src/a/s/astral-HEAD/astral/node/bootstrap.py   astral(Download)
    def load_static_bootstrap_nodes(self):
        log.info("Loading static bootstrap nodes %s",
                settings.BOOTSTRAP_NODES)
        nodes = [Node.from_dict(node) for node in settings.BOOTSTRAP_NODES]
        session.commit()
                    NodesAPI(base_url).unregister(self.node().absolute_url())
                else:
                    node = Node.from_dict(node)
                    log.info("Stored %s from %s", node, base_url)
 

src/a/s/astral-HEAD/astral/api/handlers/nodes.py   astral(Download)
            self.request.arguments.setdefault('ip_address',
                    self.request.remote_ip)
            Node.from_dict(self.request.arguments)
            session.commit()