Module Import alias ImportFrom alias Import alias Import alias Import alias ImportFrom alias Import alias Import alias ImportFrom alias alias Import alias FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad BinOpSub Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num Num Num Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad BinOpSub Call AttributeLoad NameLoad attr BinOpMult BinOpMult BinOpMult Num Num Num Num Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad BinOpSub Call AttributeLoad NameLoad attr BinOpMult BinOpMult BinOpMult Num Num Num Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Call NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad Call NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad Call NameLoad Expr Yield Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad BinOpMult Num Num attr decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq SubscriptLoad NameLoad Index Str Str body Assign SubscriptStore NameLoad Index Str NameLoad orelse Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr
N/A N/A datetime dateutil.relativedelta relativedelta N/A env N/A logging N/A mongoengine openrunlog models N/A setproctitle N/A time tornado ioloop gen N/A tornadotinyfeedback timestamp_to_oid N/A N/A timestamp N/A N/A N/A N/A N/A {0:x}0000000000000000 format N/A int timestamp N/A _daily_timestamp N/A N/A N/A N/A N/A yesterday N/A timestamp_to_oid N/A N/A N/A time time N/A N/A 60 60 24 N/A yesterday N/A _weekly_timestamp N/A N/A N/A N/A N/A weekly N/A timestamp_to_oid N/A N/A N/A time time N/A N/A N/A 60 60 24 7 N/A weekly N/A _monthly_timestamp N/A N/A N/A N/A N/A monthly N/A timestamp_to_oid N/A N/A N/A time time N/A N/A N/A 60 60 24 30 N/A monthly N/A _active_users_query N/A N/A timestamp N/A N/A N/A runs N/A N/A N/A models Run objects id__gte timestamp N/A users N/A set N/A run runs N/A N/A N/A N/A users add N/A run user N/A num N/A len users N/A num N/A active_users N/A N/A N/A N/A N/A N/A N/A logging info N/A N/A {} sending users.active format N/A N/A N/A datetime datetime today N/A daily_users N/A _active_users_query N/A _daily_timestamp N/A N/A N/A N/A gen Task N/A tf send N/A users.active.daily daily_users N/A N/A N/A logging info N/A N/A daily active users: {} format daily_users N/A weekly_users N/A _active_users_query N/A _weekly_timestamp N/A N/A N/A N/A gen Task N/A tf send N/A users.active.weekly weekly_users N/A N/A N/A logging info N/A N/A weekly active users: {} format weekly_users N/A monthly_users N/A _active_users_query N/A _monthly_timestamp N/A N/A N/A N/A gen Task N/A tf send N/A users.active.monthly monthly_users N/A N/A N/A logging info N/A N/A monthly active users: {} format monthly_users N/A N/A gen coroutine main N/A N/A N/A N/A N/A N/A N/A logging info starting active user counter N/A N/A N/A N/A N/A ioloop PeriodicCallback active_users N/A 60 1000 start N/A N/A N/A __name__ __main__ N/A N/A config N/A N/A env prefix ORL_ N/A N/A N/A config N/A debug True N/A N/A N/A config N/A debug True N/A N/A N/A config N/A debug False N/A N/A N/A mongoengine connect N/A config N/A db_name host N/A config N/A db_uri N/A tf N/A N/A tornadotinyfeedback Client openrunlog N/A N/A N/A logging basicConfig level N/A logging INFO N/A N/A N/A setproctitle setproctitle orl.workers.metrics N/A N/A N/A logging info starting workers.metrics N/A N/A main N/A N/A N/A N/A N/A N/A ioloop IOLoop instance start