Package s3 :: Module s3track :: Class S3Tracker
[frames] | no frames]

Class S3Tracker

source code

object --+
         |
        S3Tracker

S3 Tracking system, can be instantiated once as global 's3tracker' object

Instance Methods
 
__init__(self)
Constructor
source code
 
__call__(self, table=None, record_id=None, record_ids=None, tablename=None, record=None, query=None)
Get a tracking interface for a record or set of records
source code
 
get_all(self, entity, location=None, bbox=None, timestmp=None)
Get all instances of the given entity at the given location and time
source code
 
get_checked_in(self, table, record, instance_type=None, timestmp=None)
Get all trackables of the given type that are checked-in to the given instance at the given time
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)
(Constructor)

source code 

Constructor

Overrides: object.__init__

__call__(self, table=None, record_id=None, record_ids=None, tablename=None, record=None, query=None)
(Call operator)

source code 

Get a tracking interface for a record or set of records

Parameters:
  • table - a Table object
  • record_id - a record ID (together with Table or tablename)
  • record_ids - a list/tuple of record IDs (together with Table or tablename)
  • tablename - a Str object
  • record - a Row object
  • query - a Query object
Returns:
a S3Trackable instance for the specified record(s)

get_all(self, entity, location=None, bbox=None, timestmp=None)

source code 

Get all instances of the given entity at the given location and time

get_checked_in(self, table, record, instance_type=None, timestmp=None)

source code 

Get all trackables of the given type that are checked-in to the given instance at the given time