Module Import alias Import alias Import alias ImportFrom alias Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr TupleLoad Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str FunctionDef arguments args defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num TupleLoad Str Num decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Dict body Assign NameStore Dict Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr Str BinOpSub Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Dict Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Dict Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Dict Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr SubscriptLoad NameLoad Index Num NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr SubscriptLoad NameLoad Index Num NameLoad attr NameLoad attr NameLoad Return GeneratorExp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Call NameLoad NameLoad If NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Dict body Assign NameStore Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr Str BinOpSub Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Dict Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Dict Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Dict Str NameLoad If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Num orelse Assign NameStore Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Dict Str NameLoad Dict Str Dict Str Str Str Str Str Dict Str Str Str Str Dict Str Num Dict Str Str Dict Str Str Dict Str Str Dict Str Dict Str Str Str Str Str Str Str Num Str Str Num Num Num Num Dict Str Dict SubscriptLoad NameLoad Index Num NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Assign NameStore Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr Str BinOpSub Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Dict Str NameLoad Dict Str NameLoad Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Dict Str NameLoad Dict Str Dict Str Str Dict Str Str Dict Str Num Dict Str Dict Str Str Str Num Str Num Index Str Assign NameStore Call NameLoad GeneratorExp TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Assign NameStore Dict If CompareEq Call AttributeLoad NameLoad attr Str NameLoad Str body Assign NameStore Str Assign NameStore BinOpMult Num Num Assign NameStore Dict Str Str Str Dict Str Str Dict Str Str Dict Str Str orelse Assign NameStore Str Assign NameStore Num Assign NameStore Dict Str Str Str Str Dict Str Str Dict Str Str Dict Str Str Dict Str Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str BinOpSub Call AttributeLoad NameLoad attr BinOpMult BinOpMult Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str Str Dict Str NameLoad Dict Str NameLoad Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Dict Str NameLoad Dict Str Dict Str Str Str NameLoad Dict Str Str Dict Str Num Index Str Assign NameStore Dict For NameStore Call NameLoad Call NameLoad NameLoad BinOpAdd Call NameLoad NameLoad Num NameLoad body Assign SubscriptStore NameLoad Index Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Num For NameStore NameLoad body Assign SubscriptStore NameLoad Index Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad ListComp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad body Continue If CompareEq NameLoad Str body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A time N/A datetime N/A pymongo base BaseStorage N/A datetime bson.objectid ObjectId Mongo N/A BaseStorage N/A N/A 
    To use this class, you have to provide a config dictionary which contains
    "MONGO_URL", "DATABASE" and "COLLECTION".
     __init__ N/A N/A self config N/A None N/A N/A N/A N/A N/A N/A super Mongo self __init__ N/A N/A self config config N/A N/A self mongo_url N/A N/A N/A self config get MONGO_URL mongodb://localhost N/A N/A self database_name N/A N/A N/A self config get DATABASE flask_profiler N/A N/A self collection_name N/A N/A N/A self config get COLLECTION measurements createIndex N/A N/A N/A N/A N/A N/A N/A N/A self collection ensure_index N/A N/A startedAt 1 N/A endedAt 1 N/A elapsed 1 N/A name 1 N/A method 1 N/A N/A N/A self client N/A N/A pymongo MongoClient N/A self mongo_url N/A N/A self db N/A N/A self client N/A N/A self database_name N/A N/A self collection N/A N/A self db N/A N/A self collection_name N/A N/A createIndex N/A filter N/A N/A self filtering N/A N/A N/A N/A query N/A N/A limit N/A int N/A N/A filtering get limit 100000 N/A skip N/A int N/A N/A filtering get skip 0 N/A sort N/A N/A N/A N/A filtering get sort endedAt,desc split , N/A startedAt N/A N/A N/A datetime datetime fromtimestamp N/A float N/A N/A filtering get startedAt N/A N/A N/A time time N/A N/A 3600 24 7 N/A endedAt N/A N/A N/A datetime datetime fromtimestamp N/A float N/A N/A filtering get endedAt N/A N/A time time N/A elapsed N/A float N/A N/A filtering get elapsed 0 N/A name N/A N/A filtering get name None N/A method N/A N/A filtering get method None N/A args N/A N/A filtering get args None N/A kwargs N/A N/A filtering get kwargs None N/A N/A N/A sort N/A 1 desc N/A N/A sort_dir N/A pymongo DESCENDING N/A N/A sort_dir N/A pymongo ASCENDING N/A name N/A N/A N/A query N/A name name N/A method N/A N/A N/A query N/A method method N/A endedAt N/A N/A N/A query N/A endedAt N/A $lte endedAt N/A startedAt N/A N/A N/A query N/A startedAt N/A $gt startedAt N/A elapsed N/A N/A N/A query N/A elapsed N/A $gte elapsed N/A args N/A N/A N/A query N/A args args N/A kwargs N/A N/A N/A query N/A kwargs kwargs N/A limit N/A N/A cursor N/A N/A N/A N/A N/A N/A N/A self collection find query sort N/A sort N/A 0 sort_dir skip skip N/A N/A cursor N/A N/A N/A N/A N/A N/A N/A N/A N/A self collection find query sort N/A sort N/A 0 sort_dir skip skip limit limit N/A N/A N/A N/A self clearify record N/A record cursor N/A insert N/A N/A self measurement N/A N/A N/A N/A measurement N/A startedAt N/A N/A N/A datetime datetime fromtimestamp N/A measurement N/A startedAt N/A N/A measurement N/A endedAt N/A N/A N/A datetime datetime fromtimestamp N/A measurement N/A endedAt N/A result N/A N/A N/A self collection insert measurement N/A result N/A N/A True N/A False N/A truncate N/A N/A self N/A N/A N/A N/A N/A N/A self collection remove N/A delete N/A N/A self measurementId N/A N/A N/A result N/A N/A N/A self collection remove N/A _id N/A ObjectId measurementId N/A result N/A N/A True N/A False N/A getSummary N/A N/A self filtering N/A N/A N/A N/A match_condition N/A N/A endedAt N/A N/A N/A datetime datetime fromtimestamp N/A float N/A N/A filtering get endedAt N/A N/A time time N/A startedAt N/A N/A N/A datetime datetime fromtimestamp N/A float N/A N/A filtering get startedAt N/A N/A N/A time time N/A N/A 3600 24 7 N/A elapsed N/A N/A filtering get elapsed None N/A name N/A N/A filtering get name None N/A method N/A N/A filtering get method None N/A sort N/A N/A N/A N/A filtering get sort count,desc split , N/A name N/A N/A N/A match_condition N/A name name N/A method N/A N/A N/A match_condition N/A method method N/A endedAt N/A N/A N/A match_condition N/A endedAt N/A $lte endedAt N/A startedAt N/A N/A N/A match_condition N/A startedAt N/A $gt startedAt N/A elapsed N/A N/A N/A match_condition N/A elapsed N/A $gte elapsed N/A N/A N/A sort N/A 1 desc N/A N/A sort_dir -1 N/A N/A sort_dir 1 N/A result N/A N/A N/A N/A self collection aggregate N/A N/A $match match_condition N/A $group N/A _id count minElapsed maxElapsed avgElapsed N/A method name $method $name N/A $sum 1 N/A $min $elapsed N/A $max $elapsed N/A $avg $elapsed N/A $project N/A _id method name count minElapsed maxElapsed avgElapsed 0 $_id.method $_id.name 1 1 1 1 N/A $sort N/A N/A sort N/A 0 sort_dir N/A result N/A result N/A getMethodDistribution N/A N/A self filtering N/A None N/A N/A N/A filtering N/A N/A filtering N/A N/A startedAt N/A N/A N/A datetime datetime fromtimestamp N/A float N/A N/A filtering get startedAt N/A N/A N/A time time N/A N/A 3600 24 7 N/A endedAt N/A N/A N/A datetime datetime fromtimestamp N/A float N/A N/A filtering get endedAt N/A N/A time time N/A match_condition N/A startedAt endedAt N/A $gte startedAt N/A $lte endedAt N/A result N/A N/A N/A N/A self collection aggregate N/A N/A $match match_condition N/A $group N/A _id count N/A method $method N/A $sum 1 N/A $project N/A _id method count 0 $_id.method 1 N/A result N/A distribution N/A dict N/A N/A N/A i N/A method N/A i N/A count N/A i result N/A distribution N/A getTimeseries N/A N/A self filtering N/A None N/A N/A N/A filtering N/A N/A filtering N/A N/A N/A N/A N/A filtering get interval None daily N/A N/A dateFormat %Y-%m-%d N/A interval N/A 3600 24 N/A groupId N/A month day year N/A $month $startedAt N/A $dayOfMonth $startedAt N/A $year $startedAt N/A N/A dateFormat %Y-%m-%d %H N/A interval 3600 N/A groupId N/A hour day month year N/A $hour $startedAt N/A $dayOfMonth $startedAt N/A $month $startedAt N/A $year $startedAt N/A startedAt N/A float N/A N/A filtering get startedAt N/A N/A N/A time time N/A N/A 3600 24 7 N/A startedAtF N/A N/A N/A datetime datetime fromtimestamp startedAt N/A endedAt N/A float N/A N/A filtering get endedAt N/A N/A time time N/A endedAtF N/A N/A N/A datetime datetime fromtimestamp endedAt N/A match_condition N/A startedAt endedAt N/A $gte startedAtF N/A $lte endedAtF N/A result N/A N/A N/A N/A self collection aggregate N/A N/A $match match_condition N/A $group N/A _id startedAt count groupId N/A $first $startedAt N/A $sum 1 N/A result N/A series N/A N/A i N/A range N/A int startedAt N/A N/A int endedAt 1 interval N/A N/A N/A series N/A N/A N/A N/A N/A N/A datetime datetime fromtimestamp i strftime dateFormat 0 N/A i result N/A N/A N/A series N/A N/A N/A N/A i N/A startedAt strftime dateFormat N/A i N/A count N/A series N/A clearify N/A N/A self obj N/A N/A N/A available_types N/A int dict str list N/A N/A obj N/A startedAt N/A N/A N/A obj N/A startedAt strftime %s N/A N/A obj N/A endedAt N/A N/A N/A obj N/A endedAt strftime %s N/A N/A k v N/A N/A obj items N/A N/A N/A any N/A N/A isinstance v av_type N/A av_type available_types N/A N/A N/A N/A k _id N/A N/A k id N/A N/A N/A obj pop _id N/A N/A obj N/A k N/A str v N/A obj N/A get N/A N/A self measurementId N/A N/A N/A record N/A N/A N/A self collection find_one N/A _id N/A ObjectId measurementId N/A N/A N/A self clearify record N/A N/A