Module Assign NameStore Str If CompareEq NameLoad Str body ImportFrom alias ImportFrom alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias Assign NameStore IfExp CompareEq NameLoad Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad FunctionDef arguments args defaults body Return Dict Str Str Str Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword NameLoad keyword Call NameLoad Print NameLoad decorator_list NameLoad If NameLoad body With Call NameLoad Str body Expr Call NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Num Expr Call NameLoad Str NameLoad
N/A N/A __author__ Chris Tabor (dxdstudio@gmail.com) N/A N/A __name__ __main__ N/A os getcwd os sys N/A N/A N/A N/A sys path append N/A getcwd MOAL.helpers.display Section MOAL.helpers.display prnt MOAL.helpers.trials test_speed faker Factory datetime datetime dt elasticsearch Elasticsearch N/A DEBUG N/A N/A __name__ __main__ True False N/A faker N/A N/A Factory create N/A es N/A Elasticsearch get_name N/A N/A N/A N/A N/A N/A name email address timestamp N/A N/A faker name N/A N/A faker email N/A N/A faker address N/A N/A dt now N/A insert_all N/A N/A max_records N/A N/A N/A n N/A range max_records N/A N/A res N/A N/A es index index testing_index doc_type test id n body N/A get_name N/A res N/A test_speed N/A DEBUG N/A N/A N/A Section ElasticSearch (via ElasticSearch-py) N/A N/A N/A insert_all 10 N/A res N/A N/A es get index testing_index doc_type test id 1 N/A N/A prnt ES Results: res