Package s3 :: Module s3filter :: Class S3FilterString
[frames] | no frames]

Class S3FilterString

source code

object --+
         |
        S3FilterString

Helper class to render a human-readable representation of a filter query, as representation method of JSON-serialized queries in saved filters.

Instance Methods
 
__init__(self, resource, query)
Constructor
source code
 
represent(self)
Render the query representation for the given resource
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, resource, query)
(Constructor)

source code 

Constructor

Parameters:
  • query - the URL query (list of key-value pairs or a string with such a list in JSON)
Overrides: object.__init__

represent(self)

source code 

Render the query representation for the given resource