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

All Samples(7)  |  Call(0)  |  Derive(4)  |  Import(3)

src/s/w/swarm-crawler-0.0.1/swarm_crawler/serve/treemap.py   swarm-crawler(Download)
 
from flask import url_for, g, Response, request, current_app, render_template
from flask.ext.introspect import Tree, TreeView, TreeRootView, \
    ObjectViewMixin, DictViewMixin
 
class TreeRootView(DictViewMixin, TreeRootView):
 
    class view(NamedMethodView):
 
        popupsets = ['popupset/root.xml']
class DatasetView(DictViewMixin, TreeView):
 
    __type__ = TrieTree
 
 

src/f/l/flask_introspect-0.0.1/test/test_blueprint.py   flask_introspect(Download)
from flask import Flask, request
from flask.views import MethodView
from flask.ext.introspect import blueprint as rest, TreeView, ObjectViewMixin, DictViewMixin
from unittest import TestCase
 
class DictView(DictViewMixin, OView):
    class view(MethodView):
        def get(self, item):
            return item.obj['c']
 

src/f/l/flask_introspect-0.0.1/test/test_base_view.py   flask_introspect(Download)
from pprint import pprint
 
from flask.ext.introspect import TreeView, Tree, DictViewMixin, ObjectViewMixin, NOTEXIST
 
class O(object):
class SortedNamesDictViewMixin(DictViewMixin):
    def get_names(self):
        return sorted(self.obj.iterkeys())
 
class TestIntegrational(unittest.TestCase):