Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias Import alias Assign NameStore Str FunctionDef arguments args defaults body Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Dict TryExcept body With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num ImportFrom alias Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Import alias If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Expr Call SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad While NameLoad body Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIsNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Assign NameStore Dict Assign NameStore Call NameLoad NameLoad If CompareGt NameLoad Num body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Num If CompareGt NameLoad Num body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Num If CompareGt NameLoad Num body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A sys N/A time N/A json N/A logging N/A datetime apscheduler.scheduler Scheduler N/A simplegauges N/A tasks N/A _tasks_config_file tasks.config main N/A N/A N/A N/A N/A N/A configure_logging N/A logger N/A N/A logging getLogger taskhost N/A config N/A N/A N/A N/A N/A open _tasks_config_file f N/A N/A config N/A N/A json loads N/A N/A f read N/A N/A N/A logger debug Successfully read configuration file. N/A N/A N/A Exception N/A e N/A N/A N/A N/A logger critical N/A N/A Cannot read configuration file: {0} format _tasks_config_file N/A N/A N/A logger critical e N/A N/A N/A sys exit 1 simplegauges.datastores.azuretable AzureGaugeDatastore N/A gauges_ds N/A AzureGaugeDatastore N/A config N/A azure.account N/A config N/A azure.key N/A config N/A azure.table N/A gauge_factory N/A N/A simplegauges gauge_factory gauges_ds N/A N/A N/A tasks set_simplegauges_factory gauge_factory N/A N/A N/A tasks set_config config N/A fixture N/A N/A N/A fixture tasks N/A N/A N/A N/A logger error No tasks found in the fixture.py N/A N/A N/A sys exit 1 N/A errors False N/A task N/A fixture tasks N/A N/A method N/A task N/A 0 N/A name N/A N/A {0}.{1} format N/A method __module__ N/A method __name__ N/A N/A N/A N/A N/A task N/A 0 N/A N/A N/A logger info N/A N/A Successfully bootstrapped: {0} format name N/A N/A N/A Exception N/A e N/A N/A errors True N/A N/A N/A logger error N/A N/A Error while bootstrapping: {0} format name N/A N/A N/A logger error e N/A errors N/A N/A N/A N/A logger info Starting scheduler in 10 seconds... N/A N/A N/A time sleep 10 N/A N/A N/A N/A logger info Starting scheduler... N/A sched N/A Scheduler N/A task N/A fixture tasks N/A N/A cron_kwargs N/A parse_cron_tuple N/A task N/A 1 N/A N/A N/A sched add_cron_job N/A task N/A 0 cron_kwargs N/A N/A N/A sched start N/A N/A N/A logger info N/A N/A Scheduler started with {0} jobs. format N/A len N/A N/A sched get_jobs N/A now N/A N/A N/A datetime datetime now N/A j N/A N/A sched get_jobs N/A N/A N/A N/A logger debug N/A N/A Scheduled: {0}.{1}, next run:{2} format N/A N/A j func __module__ N/A N/A j func __name__ N/A N/A j compute_next_run_time now N/A True N/A N/A N/A N/A time sleep 10 N/A parse_cron_tuple N/A N/A cron_tuple N/A N/A N/A Parses (hour,minute,second) or (hour,minute) or (hour) cron
    scheduling defintions into kwargs dictionary
     N/A N/A N/A type cron_tuple tuple N/A N/A N/A Exception N/A N/A Given cron format is not tuple: {0} format cron_tuple N/A kwargs N/A N/A l N/A len cron_tuple N/A N/A l 0 N/A N/A N/A kwargs N/A hour N/A cron_tuple N/A 0 N/A N/A l 1 N/A N/A N/A kwargs N/A minute N/A cron_tuple N/A 1 N/A N/A l 2 N/A N/A N/A kwargs N/A second N/A cron_tuple N/A 2 N/A kwargs N/A configure_logging N/A N/A N/A N/A N/A logfmt [%(asctime)s] %(levelname)s [%(name)s] %(message)s N/A N/A N/A logging basicConfig level N/A logging DEBUG format logfmt N/A N/A N/A N/A N/A logging getLogger requests.packages.urllib3.connectionpool setLevel N/A logging CRITICAL N/A N/A N/A N/A N/A logging getLogger apscheduler setLevel N/A logging WARNING N/A N/A N/A __name__ __main__ N/A N/A N/A main