everest.querying.utils

Querying utilities.

class everest.querying.utils.OrmAttributeInspector[source]

Bases: object

Helper class inspecting class attributes mapped by the ORM.

__weakref__

list of weak references to the object (if defined)

static inspect(orm_class, attribute_name)[source]
Parameters:attribute_name – name of the mapped attribute to inspect.
Returns:list of 2-tuples containing information about the inspected attribute (first element: mapped entity attribute kind; second attribute: mapped entity attribute)
everest.querying.utils.get_filter_specification_factory()[source]

Returns the object registered as filter specification factory utility.

Returns:object implementing everest.querying.interfaces.IFilterSpecificationFactory
everest.querying.utils.get_order_specification_factory()[source]

Returns the object registered as order specification factory utility.

Returns:object implementing everest.querying.interfaces.IOrderSpecificationFactory

Project Versions

Previous topic

everest.querying.specifications

Next topic

everest.representers.atom

This Page