Package s3 :: Module s3resource :: Class S3AxisFilter
[frames] | no frames]

Class S3AxisFilter

source code

object --+
         |
        S3AxisFilter

Experimental: helper class to extract filter values for pivot table axis fields

Instance Methods
 
__init__(self, qdict, tablenames)
Constructor, recursively introspect the query dict and extract all relevant subqueries.
source code
 
query(self)
Reconstruct the query from this filter
source code
 
values(self, rfield)
Helper method to filter list:type axis values
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, qdict, tablenames)
(Constructor)

source code 

Constructor, recursively introspect the query dict and extract all relevant subqueries.

Parameters:
  • qdict - the query dict (from Query.as_dict(flat=True))
  • tablenames - the names of the relevant tables
Overrides: object.__init__

query(self)

source code 

Reconstruct the query from this filter

values(self, rfield)

source code 

Helper method to filter list:type axis values

Parameters:
  • rfield - the axis field
Returns:
pair of value lists [include], [exclude]