doc/api/predicates.rst
author Denis Laxalde <denis.laxalde@logilab.fr>
Tue, 22 Dec 2015 09:23:00 +0100
changeset 11144 fd8bf29ed00e
parent 10499 d0907690af55
child 12792 e2cdb1be6bd9
permissions -rw-r--r--
[tox] Generate test environments for Python 2.7 and 3.4 Test commands for each environment are written down explicitly since I could not find a way to extract the "package" name (e.g. "hooks") from the environment name (e.g. "py34-hooks"). For Python 3.4 interpreter, only environments (subpackages) that do not depend on cubes for their tests are listed since those test dependency cubes are not yet installable with Python 3.x. etwist is also not included since the Python 3 port is not complete at the moment. From local testing, py34 tests pass for the following subpackages: - dataimport - entities - ext - hooks - wsgi
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10499
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     1
.. _predicates_module:
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     2
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     3
:mod:`cubicweb.predicates`
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     4
==========================
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     5
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     6
.. automodule:: cubicweb.predicates
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     7
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     8
   .. autoclass:: cubicweb.appobject.yes
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
     9
   .. autoclass:: cubicweb.predicates.match_kwargs
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    10
   .. autoclass:: cubicweb.predicates.appobject_selectable
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    11
   .. autoclass:: cubicweb.predicates.adaptable
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    12
   .. autoclass:: cubicweb.predicates.configuration_values
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    13
   
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    14
   .. autoclass:: cubicweb.predicates.none_rset
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    15
   .. autoclass:: cubicweb.predicates.any_rset
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    16
   .. autoclass:: cubicweb.predicates.nonempty_rset
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    17
   .. autoclass:: cubicweb.predicates.empty_rset
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    18
   .. autoclass:: cubicweb.predicates.one_line_rset
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    19
   .. autoclass:: cubicweb.predicates.multi_lines_rset
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    20
   .. autoclass:: cubicweb.predicates.multi_columns_rset
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    21
   .. autoclass:: cubicweb.predicates.paginated_rset
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    22
   .. autoclass:: cubicweb.predicates.sorted_rset
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    23
   .. autoclass:: cubicweb.predicates.one_etype_rset
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    24
   .. autoclass:: cubicweb.predicates.multi_etypes_rset
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    25
   
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    26
   .. autoclass:: cubicweb.predicates.non_final_entity
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    27
   .. autoclass:: cubicweb.predicates.is_instance
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    28
   .. autoclass:: cubicweb.predicates.score_entity
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    29
   .. autoclass:: cubicweb.predicates.rql_condition
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    30
   .. autoclass:: cubicweb.predicates.relation_possible
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    31
   .. autoclass:: cubicweb.predicates.partial_relation_possible
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    32
   .. autoclass:: cubicweb.predicates.has_related_entities
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    33
   .. autoclass:: cubicweb.predicates.partial_has_related_entities
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    34
   .. autoclass:: cubicweb.predicates.has_permission
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    35
   .. autoclass:: cubicweb.predicates.has_add_permission
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    36
   .. autoclass:: cubicweb.predicates.has_mimetype
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    37
   .. autoclass:: cubicweb.predicates.is_in_state
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    38
   .. autofunction:: cubicweb.predicates.on_fire_transition
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    39
   
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    40
   .. autoclass:: cubicweb.predicates.match_user_groups
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    41
   
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    42
   .. autoclass:: cubicweb.predicates.no_cnx
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    43
   .. autoclass:: cubicweb.predicates.anonymous_user
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    44
   .. autoclass:: cubicweb.predicates.authenticated_user
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    45
   .. autoclass:: cubicweb.predicates.match_form_params
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    46
   .. autoclass:: cubicweb.predicates.match_search_state
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    47
   .. autoclass:: cubicweb.predicates.match_context_prop
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    48
   .. autoclass:: cubicweb.predicates.match_context
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    49
   .. autoclass:: cubicweb.predicates.match_view
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    50
   .. autoclass:: cubicweb.predicates.primary_view
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    51
   .. autoclass:: cubicweb.predicates.contextual
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    52
   .. autoclass:: cubicweb.predicates.specified_etype_implements
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    53
   .. autoclass:: cubicweb.predicates.attribute_edited
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    54
   .. autoclass:: cubicweb.predicates.match_transition
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    55
   
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    56
   .. autoclass:: cubicweb.predicates.match_exception
d0907690af55 [doc] move the documentations from docstring directly to the book.
David Douard <david.douard@logilab.fr>
parents:
diff changeset
    57
   .. autoclass:: cubicweb.predicates.debug_mode