Did I find the right examples for you? yes no

All Samples(18)  |  Call(0)  |  Derive(10)  |  Import(8)

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tube.py   pyf.services(Download)
                                     has_model_permission, itemize)
 
from pyf.services.controllers.crud import FancyTableFiller as TableFiller
from pyf.services.controllers.tubelayer import (tubelayer_table,
                                                tubelayer_table_filler)
    class table_filler_type(TableFiller):
        __model__ = Tube
        __actions_size__ = "80px"
        __other_links__ = """
            <a href="${base_url}${pklist}/edit"

src/p/y/pyf.services-2.0.2/pyf/services/controllers/events.py   pyf.services(Download)
                                        render_link, render_link_field,
    has_model_permission)
from pyf.services.controllers.crud import FancyTableFiller as TableFiller
 
from pyf.services.core.events import create_event_track, get_logger
    class table_filler_type(TableFiller):
        __model__ = EventTrack
 
        tube = render_link_field('/tubes/%s', 'tube', 'display_name',
                                 is_list=False)

src/p/y/pyf.services-2.0.2/pyf/services/controllers/dispatch.py   pyf.services(Download)
                                        render_link, render_link_field,
    has_model_permission)
from pyf.services.controllers.crud import FancyTableFiller as TableFiller
from pyf.services.controllers.utils import tube_select_getter,\
    descriptor_select_getter
    class table_filler_type(TableFiller):
        __model__ = Dispatch
 
        tube = render_link_field('/tubes/%s', 'tube', 'display_name',
                                 is_list=False)

src/p/y/pyf.services-2.0.2/pyf/services/controllers/user.py   pyf.services(Download)
from sprox.tablebase import TableBase
 
from pyf.services.controllers.crud import FancyTableFiller as TableFiller
from tg.decorators import expose
 
    class table_filler_type(TableFiller):
        __model__ = User
 
        groups = render_link_field('/groups/%s/edit', 'groups', 'group_name')
 
    class table_filler_type(TableFiller):
        __model__ = Group
        permissions = render_link_field('/permissions/%s/edit', 'permissions',
                                        'permission_name',
                                        display_name_property='permission_name')
    class table_filler_type(TableFiller):
        __model__ = Permission
        groups = render_link_field('/groups/%s/edit', 'groups', 'group_name')

src/p/y/pyf.services-2.0.2/pyf/services/controllers/descriptor.py   pyf.services(Download)
                                        render_boolean, render_link_field,
    has_model_permission)
from pyf.services.controllers.crud import FancyTableFiller as TableFiller
 
from pyf.services.core.events import create_event_track, get_logger
    class table_filler_type(TableFiller):
        __model__ = Descriptor
        dispatchs = render_link_field('/dispatchs/%s', 'dispatchs', 'display_name')
 
    @has_model_permission('edit')

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tubelayer.py   pyf.services(Download)
                                        render_boolean, render_link_field,
    has_model_permission)
from pyf.services.controllers.crud import FancyTableFiller as TableFiller
from pyf.services.controllers.utils import tube_select_getter
 
class TubeLayerTableFiller(TableFiller):
    __model__ = TubeLayer
    __base_url__ = '/tubelayers/'
    def _do_get_provider_count_and_objs(self, tube=None, **kw):
        layers = DBSession.query(TubeLayer)

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tasks.py   pyf.services(Download)
                                        render_boolean, render_link_field,
                                     has_model_permission)
from pyf.services.controllers.crud import FancyTableFiller as TableFiller
from pyf.services.controllers.utils import tube_select_getter
 
    class table_filler_type(TableFiller):
        __model__ = TubeTask
 
        tube = render_link_field('/tubes/%s', 'tube', 'display_name',
                                 is_list=False)

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tubestorage.py   pyf.services(Download)
                                     render_boolean, render_link_field,
                                     has_model_permission)
from pyf.services.controllers.crud import FancyTableFiller as TableFiller
 
from pyf.services.core.events import create_event_track, get_logger
    class table_filler_type(TableFiller):
        __model__ = TubeStorage
 
    @has_model_permission('view')
    @expose('pyf.services.templates.tubestorage.get_one')