Module ImportFrom alias Import alias Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Return NameLoad finalbody AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num AugAssignAdd AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Return NameLoad finalbody Assign NameStore BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad Str Call NameLoad NameLoad Str Str Return NameLoad decorator_list Call NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Expr Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call Call NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Str NameLoad Return NameLoad decorator_list NameLoad decorator_list
N/A functools wraps N/A time N/A logging playhouse.gfk Model N/A peewee playhouse.postgres_ext PostgresqlExtDatabase redash statsd_client N/A metrics_logger N/A N/A logging getLogger metrics MeteredPostgresqlExtDatabase N/A PostgresqlExtDatabase N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A self query_count 0 N/A N/A self query_duration 0 N/A N/A N/A N/A super MeteredPostgresqlExtDatabase self __init__ args kwargs N/A execute_sql N/A N/A self N/A args kwargs N/A N/A start_time N/A N/A time time N/A N/A N/A result N/A N/A N/A super MeteredPostgresqlExtDatabase self execute_sql args kwargs N/A result N/A N/A N/A self query_count 1 N/A duration N/A N/A N/A N/A time time start_time 1000 N/A N/A self query_duration duration N/A reset_metrics N/A N/A self N/A N/A N/A N/A self query_count 0 N/A N/A self query_duration 0 N/A N/A patch_query_execute N/A N/A N/A N/A N/A real_execute N/A N/A peewee Query _execute N/A real_clone N/A N/A peewee Query clone metered_execute N/A N/A self N/A args kwargs N/A N/A name N/A N/A self model_class __name__ N/A action N/A getattr self model_action unknown N/A start_time N/A N/A time time N/A N/A N/A result N/A real_execute self args kwargs N/A result N/A N/A duration N/A N/A N/A N/A time time start_time 1000 N/A N/A N/A statsd_client timing N/A N/A db.{}.{} format name action duration N/A N/A N/A metrics_logger debug model=%s query=%s duration=%.2f name action duration N/A N/A wraps real_execute extended_clone N/A N/A self N/A N/A N/A cloned N/A real_clone self N/A N/A setattr cloned model_action N/A getattr self model_action unknown N/A cloned N/A N/A wraps real_clone N/A N/A N/A peewee Query _execute metered_execute N/A N/A N/A peewee Query clone extended_clone N/A N/A N/A patch_query_execute MeteredModel N/A Model N/A select N/A N/A cls N/A args kwargs N/A N/A N/A N/A cls _execute_and_measure select args kwargs N/A classmethod update N/A N/A cls N/A args kwargs N/A N/A N/A N/A cls _execute_and_measure update args kwargs N/A classmethod insert N/A N/A cls N/A args kwargs N/A N/A N/A N/A cls _execute_and_measure insert args kwargs N/A classmethod insert_many N/A N/A cls N/A args kwargs N/A N/A N/A N/A cls _execute_and_measure insert_many args kwargs N/A classmethod insert_from N/A N/A cls N/A args kwargs N/A N/A N/A N/A cls _execute_and_measure insert_from args kwargs N/A classmethod delete N/A N/A cls N/A args kwargs N/A N/A N/A N/A cls _execute_and_measure delete args kwargs N/A classmethod raw N/A N/A cls N/A args kwargs N/A N/A N/A N/A cls _execute_and_measure raw args kwargs N/A classmethod _execute_and_measure N/A N/A cls action args kwargs N/A N/A N/A result N/A N/A getattr N/A super MeteredModel cls action args kwargs N/A N/A setattr result model_action action N/A result N/A classmethod N/A