Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Return ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot BoolOpOr CompareIn NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num NameLoad Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore AttributeLoad Call NameLoad attr handlers ExceptHandler body Assign NameStore Str Assign NameStore Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str TryExcept body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Assign AttributeStore NameLoad attr Num Return decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpBitOr Call NameLoad keyword Call NameLoad Str Call NameLoad keyword NameLoad Call NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign NameStore BinOpAdd Call AttributeLoad SubscriptLoad NameLoad Index Num attr SubscriptLoad NameLoad Slice Num TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore ListLoad NameLoad handlers ExceptHandler body Assign NameStore ListLoad If Call NameLoad NameLoad Str body TryExcept body Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass If CompareIn NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword ListLoad Str Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call NameLoad NameLoad Str Str AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call NameLoad NameLoad Str Str AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call NameLoad NameLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults ListLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body TryExcept body Expr Call NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Assign NameStore NameLoad TryExcept body Assign NameStore AttributeLoad Call NameLoad attr handlers ExceptHandler body Assign NameStore Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If BoolOpAnd UnaryOpNot NameLoad CompareGt NameLoad Call AttributeLoad NameLoad attr body Assign NameStore NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Pass If UnaryOpNot NameLoad body TryExcept body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Num Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword ListLoad Str Str Str handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Assign NameStore NameLoad TryExcept body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler body Assign NameStore NameLoad If BoolOpAnd Call NameLoad NameLoad NameLoad UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr BinOpMod Str NameLoad orelse Assign AttributeStore NameLoad attr BinOpMod Str NameLoad Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr SubscriptLoad NameLoad Index Str handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Num Num If SubscriptLoad NameLoad Index Str body Assign NameStore BinOpMult SubscriptLoad NameLoad Index Str Num If CompareLt NameLoad Num body Assign NameStore Num Assign SubscriptStore NameLoad Index Str BinOpAdd Call AttributeLoad NameLoad attr NameLoad AugAssignAdd SubscriptStore NameLoad Index Str Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body TryExcept body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Expr Call AttributeLoad NameLoad attr keyword ListLoad Str Str Str handlers ExceptHandler body Print Str Pass Assign NameStore NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return decorator_list FunctionDef arguments args NameParam NameParam defaults body Return decorator_list FunctionDef arguments args NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A os N/A base64 datetime datetime xos.config Config xos.logger Logger logging synchronizers.base.steps * django.db.models F Q core.models * django.db reset_queries N/A json N/A time N/A pdb N/A traceback N/A logger N/A Logger level N/A logging INFO f7 N/A N/A seq N/A N/A N/A seen N/A set N/A seen_add N/A seen add N/A N/A x N/A x seq N/A N/A N/A x seen N/A seen_add x N/A elim_dups N/A N/A backend_str N/A N/A N/A strs N/A N/A backend_str split / N/A strs N/A map N/A N/A N/A x N/A N/A N/A N/A x split ( N/A 0 strs N/A strs2 N/A f7 strs N/A N/A N/A / join strs2 N/A deepgetattr N/A N/A obj attr N/A N/A N/A N/A reduce getattr N/A N/A attr split . obj N/A InnocuousException N/A Exception N/A N/A N/A FailedDependency N/A Exception N/A N/A N/A SyncStep N/A object N/A N/A  An XOS Sync step. 

    Attributes:
        psmodel        Model name the step synchronizes 
        dependencies    list of names of models that must be synchronized first if the current model depends on them
     N/A slow False get_prop N/A N/A prop N/A N/A N/A N/A N/A sync_config_dir N/A N/A Config sync_config_dir N/A N/A N/A N/A sync_config_dir /etc/xos/sync N/A prop_config_path N/A N/A / join sync_config_dir N/A self name prop N/A N/A N/A N/A N/A N/A open prop_config_path read rstrip N/A __init__ N/A N/A self N/A args N/A N/A Initialize a sync step
           Keyword arguments:
                   name -- Name of the step
                provides -- XOS models sync'd by this step
         N/A dependencies N/A N/A N/A self driver N/A N/A args get driver N/A N/A self error_map N/A N/A args get error_map N/A N/A N/A N/A self soft_deadline N/A int N/A N/A self get_prop soft_deadline_seconds N/A N/A N/A N/A N/A self soft_deadline 5 N/A N/A fetch_pending N/A N/A self deletion N/A False N/A N/A main_obj N/A self observes N/A N/A deletion N/A N/A objs N/A N/A N/A main_obj objects filter N/A N/A Q enacted__lt N/A F updated N/A Q enacted None N/A Q lazy_blocked False N/A N/A objs N/A N/A N/A main_obj deleted_objects all N/A objs N/A check_dependencies N/A N/A self obj failed N/A N/A N/A dep N/A self dependencies N/A N/A peer_name N/A N/A N/A N/A dep N/A 0 lower N/A dep N/A 1 N/A N/A N/A peer_object N/A deepgetattr obj peer_name N/A N/A N/A peer_objects N/A N/A peer_object all N/A N/A N/A AttributeError N/A N/A peer_objects N/A peer_object N/A N/A N/A N/A peer_objects N/A N/A N/A hasattr obj controller N/A N/A N/A N/A peer_objects N/A filter N/A N/A N/A o N/A N/A N/A o controller N/A obj controller peer_objects N/A N/A N/A AttributeError N/A N/A N/A N/A failed peer_objects N/A N/A N/A N/A obj backend_status N/A failed backend_status N/A N/A N/A obj backend_status N/A failed backend_status N/A N/A N/A obj save update_fields N/A backend_status N/A N/A FailedDependency N/A Failed dependency for %s:%s peer %s:%s failed  %s:%s N/A N/A N/A obj __class__ __name__ N/A str N/A getattr obj pk no_pk N/A N/A peer_object __class__ __name__ N/A str N/A getattr peer_object pk no_pk N/A N/A failed __class__ __name__ N/A str N/A getattr failed pk no_pk N/A call N/A N/A self failed deletion N/A N/A False N/A N/A pending N/A N/A self fetch_pending deletion N/A o pending N/A N/A N/A N/A N/A reset_queries N/A N/A N/A N/A N/A N/A logger log_exc exception in reset_queries extra N/A N/A o tologdict N/A sync_failed False N/A N/A N/A backoff_disabled N/A N/A Config observer_backoff_disabled N/A N/A N/A N/A backoff_disabled 0 N/A N/A N/A scratchpad N/A N/A json loads N/A o backend_register N/A scratchpad N/A N/A next_run N/A scratchpad N/A next_run N/A N/A N/A backoff_disabled N/A next_run N/A N/A time time N/A N/A sync_failed True N/A N/A N/A N/A N/A N/A logger log_exc Exception while loading scratchpad extra N/A N/A o tologdict N/A N/A N/A sync_failed N/A N/A N/A N/A f failed N/A N/A N/A N/A self check_dependencies o f N/A deletion N/A N/A N/A N/A self delete_record o N/A N/A N/A o delete purge True N/A N/A N/A N/A self sync_record o N/A N/A o enacted N/A N/A datetime now N/A scratchpad N/A next_run exponent 0 0 N/A N/A o backend_register N/A N/A json dumps scratchpad N/A N/A o backend_status 1 - OK N/A N/A N/A o save update_fields N/A enacted backend_status backend_register N/A N/A N/A N/A InnocuousException Exception N/A e N/A N/A N/A N/A logger log_exc Syncstep caught exception extra N/A N/A o tologdict N/A force_error False N/A N/A N/A N/A N/A N/A o backend_status startswith 2 -  N/A N/A force_error False N/A str_e N/A %s/%s N/A N/A N/A o backend_status N/A 4 N/A str e N/A str_e N/A elim_dups str_e N/A N/A str_e N/A str e N/A N/A N/A N/A str_e N/A str e N/A N/A str_e N/A N/A str_e Unknown N/A N/A N/A error N/A N/A N/A self error_map map str_e N/A N/A N/A N/A error str_e N/A N/A N/A isinstance e InnocuousException N/A force_error N/A N/A N/A o backend_status N/A 1 - %s error N/A N/A N/A o backend_status N/A 2 - %s error N/A cmd N/A wget -O /dev/null -q "http://xoslnprof.appspot.com/command?action=pushlog&node=1&log_path=/%s/%s" N/A N/A N/A self __class__ __name__ error N/A N/A N/A os system cmd N/A N/A N/A scratchpad N/A N/A json loads N/A o backend_register N/A N/A scratchpad N/A exponent N/A N/A N/A N/A N/A N/A logger log_exc Exception while updating scratchpad extra N/A N/A o tologdict N/A scratchpad N/A next_run exponent 0 0 N/A N/A scratchpad N/A exponent N/A N/A delay N/A N/A scratchpad N/A exponent 600 N/A N/A delay 1440 N/A N/A delay 1440 N/A N/A scratchpad N/A next_run N/A N/A N/A time time delay N/A N/A scratchpad N/A exponent 1 N/A N/A o backend_register N/A N/A json dumps scratchpad N/A N/A o pk N/A N/A N/A N/A N/A o backend_status N/A N/A o backend_status N/A 1024 N/A N/A N/A o save update_fields N/A backend_status backend_register updated N/A N/A N/A N/A Could not update backend status field! N/A N/A sync_failed True N/A sync_failed N/A N/A N/A N/A failed append o N/A failed N/A sync_record N/A N/A self o N/A N/A N/A N/A delete_record N/A N/A self o N/A N/A N/A N/A __call__ N/A N/A self N/A args N/A N/A N/A N/A self call args N/A N/A