Module Expr Str ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Dict body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Assign AttributeStore NameLoad attr Dict Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareNotEq NameLoad NameLoad body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad If CompareIn AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Return SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num body Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Print Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Dict body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareEq NameLoad NameLoad body Return AttributeLoad NameLoad attr orelse If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict NameLoad Call SubscriptLoad Call NameLoad Index NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict NameLoad NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Return AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Created on Sep 15, 2012

Agent classes. Contains reference to instance of class containing observer 
handlers and code 

Agent Instances are created automatically. Create a named Handler instance under the Agent, 
as an instance of the desired handler class, optionally specifying a module path setting {'classPath': '<path_to_module>'}
by PUT (set) of a JSON object containing a dictionary of settings

for example myObserver.set({'handlerClass': 'SmartObject.Agent.additionHandler'})

@author: mjkoster
 RESTfulResource RESTfulResource Handler N/A RESTfulResource N/A __init__ N/A N/A self parentObject resourceDescriptor N/A None N/A N/A N/A N/A N/A RESTfulResource __init__ self parentObject resourceDescriptor N/A N/A self _settings N/A self _resourceDescriptor N/A N/A self _linkBaseDict N/A N/A N/A N/A self Resources get baseObject resources N/A N/A self _linkCache N/A N/A N/A N/A self _init N/A _init N/A N/A self N/A N/A N/A N/A get N/A N/A self Key N/A None N/A N/A N/A Key None N/A N/A N/A N/A self _settings N/A Key N/A N/A N/A self _settings N/A set N/A N/A self newSettings N/A N/A N/A N/A N/A N/A self _settings update newSettings N/A handleNotify N/A N/A self updateRef N/A None N/A N/A N/A N/A self _handleNotify updateRef N/A _handleNotify N/A N/A self updateRef N/A None N/A N/A N/A linkToRef N/A N/A self linkPath N/A N/A N/A 
        takes a path string and walks the object tree from a base dictionary
        returns a ref to the resource at the path endpoint
        store translations in a hash cache for fast lookup after the first walk
         N/A N/A self _linkPath linkPath N/A N/A N/A self _linkPath N/A N/A N/A self _linkCache keys N/A N/A N/A N/A self _linkCache N/A N/A self _linkPath N/A N/A self _currentDict N/A self _linkBaseDict N/A N/A self _pathElements N/A N/A linkPath split / N/A pathElement N/A N/A self _pathElements N/A -1 N/A N/A N/A self _currentDict N/A N/A N/A self _currentDict N/A pathElement resources N/A N/A self _resource N/A N/A self _currentDict N/A N/A N/A self _pathElements N/A -1 N/A N/A N/A N/A self _linkCache update N/A N/A self _linkPath N/A self _resource N/A N/A self _resource N/A getByLink N/A N/A self linkPath N/A N/A N/A N/A N/A N/A N/A self linkToRef linkPath get N/A setByLink N/A N/A self linkPath newValue N/A N/A N/A N/A N/A N/A N/A self linkToRef linkPath set newValue N/A N/A addHandler N/A Handler N/A _handleNotify N/A N/A self updateRef N/A None N/A N/A N/A self _addend1 N/A N/A self getByLink N/A N/A self _settings N/A addendLink1 N/A N/A self _addend2 N/A N/A self getByLink N/A N/A self _settings N/A addendLink2 N/A N/A N/A self setByLink N/A N/A self _settings N/A sumOutLink N/A N/A self _addend1 N/A self _addend2 N/A N/A logPrintHandler N/A Handler N/A _handleNotify N/A N/A self resource N/A N/A N/A N/A N/A N/A resource Properties get resourceName  =  N/A N/A resource get N/A N/A Agent N/A RESTfulResource N/A __init__ N/A N/A self parentObject resourceDescriptor N/A None N/A N/A N/A N/A N/A RESTfulResource __init__ self parentObject resourceDescriptor N/A N/A self _handlers N/A N/A get N/A N/A self handlerName N/A None N/A N/A N/A handlerName None N/A N/A N/A self _handlers N/A N/A N/A N/A N/A self _handlers has_key handlerName N/A N/A N/A N/A self _handlers N/A handlerName N/A None N/A create N/A N/A self resourceDescriptor N/A N/A N/A resourceName N/A resourceDescriptor N/A resourceName N/A resourceClass N/A resourceDescriptor N/A resourceClass N/A N/A N/A resourceDescriptor has_key resourceClassPath N/A N/A resourceClassPath N/A resourceDescriptor N/A resourceClassPath N/A N/A N/A self importByPath resourceClassPath N/A N/A resourceName N/A self resources N/A N/A N/A N/A N/A self resources update N/A resourceName N/A N/A N/A globals N/A resourceClass self resourceDescriptor N/A N/A N/A N/A self _handlers update N/A resourceName resourceClass N/A N/A N/A self resources N/A resourceName N/A importByPath N/A N/A self classPath N/A N/A N/A N/A self _components N/A N/A classPath split . N/A N/A self _module N/A __import__ N/A N/A . join N/A N/A self _components N/A -1 N/A N/A self _module N/A N/A