cubicweb/pyramid/resources.py
changeset 11967 83739be20fab
parent 11820 ec612abc2e2e
child 12567 26744ad37953
equal deleted inserted replaced
11966:fe995d56c949 11967:83739be20fab
     1 """Contains resources classes.
     1 # copyright 2017 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 """
     2 # copyright 2014-2016 UNLISH S.A.S. (Montpellier, FRANCE), all rights reserved.
       
     3 #
       
     4 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
       
     5 #
       
     6 # This file is part of CubicWeb.
       
     7 #
       
     8 # CubicWeb is free software: you can redistribute it and/or modify it under the
       
     9 # terms of the GNU Lesser General Public License as published by the Free
       
    10 # Software Foundation, either version 2.1 of the License, or (at your option)
       
    11 # any later version.
       
    12 #
       
    13 # CubicWeb is distributed in the hope that it will be useful, but WITHOUT
       
    14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
       
    15 # FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
       
    16 # details.
       
    17 #
       
    18 # You should have received a copy of the GNU Lesser General Public License along
       
    19 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
       
    20 
       
    21 """Pyramid resource definitions for CubicWeb."""
       
    22 
     3 from six import text_type
    23 from six import text_type
     4 
    24 
     5 from rql import TypeResolverException
    25 from rql import TypeResolverException
     6 
    26 
     7 from pyramid.decorator import reify
    27 from pyramid.decorator import reify