Did I find the right examples for you? yes no

All Samples(19)  |  Call(11)  |  Derive(0)  |  Import(8)

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tubelayer.py   pyf.services(Download)
from sprox.fillerbase import EditFormFiller
 
from pyf.services.controllers.crud import (SecureCrudRestController, DataGrid,
                                        render_boolean, render_link_field,
    has_model_permission)
        return len(layers), layers
 
    tube = render_link_field('/tubes/%s', 'tube', 'display_name', is_list=False)
    active = render_boolean('active')
 

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tasks.py   pyf.services(Download)
from sprox.tablebase import TableBase
 
from pyf.services.controllers.crud import (SecureCrudRestController,
                                        DataGrid,
                                        render_boolean, render_link_field,
    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/user.py   pyf.services(Download)
from pyf.services.model import User, Group, Permission
from pyf.services.controllers.crud import (SecureCrudRestController, DataGrid,
                                     render_boolean, render_link_field,
                                     has_model_permission)
from sprox.formbase import AddRecordForm, EditableForm
    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/events.py   pyf.services(Download)
from sprox.fillerbase import EditFormFiller
 
from pyf.services.controllers.crud import (SecureCrudRestController,
                                        DataGrid,
                                        render_boolean,
    class table_filler_type(TableFiller):
        __model__ = EventTrack
 
        tube = render_link_field('/tubes/%s', 'tube', 'display_name',
                                 is_list=False)
        dispatch = render_link_field('/dispatchs/%s', 'dispatch',

src/p/y/pyf.services-2.0.2/pyf/services/controllers/dispatch.py   pyf.services(Download)
from sprox.fillerbase import EditFormFiller
 
from pyf.services.controllers.crud import (SecureCrudRestController,
                                        DataGrid,
                                        render_boolean,
    class table_filler_type(TableFiller):
        __model__ = Dispatch
 
        tube = render_link_field('/tubes/%s', 'tube', 'display_name',
                                 is_list=False)
        descriptor = render_link_field('/descriptors/%s/edit', 'descriptor',

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tube.py   pyf.services(Download)
from sprox.fillerbase import EditFormFiller
 
from pyf.services.controllers.crud import (SecureCrudRestController, DataGrid,
                                     render_boolean, render_link_field,
                                     has_model_permission, itemize)
                                                    itemid=obj.id)
 
        dispatchs = render_link_field('/dispatchs/%s', 'dispatchs', 'display_name')
        active = render_boolean('active')
        needs_source = render_boolean('needs_source')

src/p/y/pyf.services-2.0.2/pyf/services/controllers/descriptor.py   pyf.services(Download)
from sprox.fillerbase import EditFormFiller
 
from pyf.services.controllers.crud import (SecureCrudRestController, DataGrid,
                                        render_boolean, render_link_field,
    has_model_permission)
    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/tubestorage.py   pyf.services(Download)
from sprox.fillerbase import EditFormFiller
 
from pyf.services.controllers.crud import (SecureCrudRestController, DataGrid,
                                     render_boolean, render_link_field,
                                     has_model_permission)