[2021-05-08 16:22:35 log.py:info:117 INFO] SHOW VARIABLES LIKE 'sql_mode'
[2021-05-08 16:22:35 log.py:info:117 INFO] [raw sql] {}
[2021-05-08 16:22:35 log.py:info:117 INFO] SHOW VARIABLES LIKE 'lower_case_table_names'
[2021-05-08 16:22:35 log.py:info:117 INFO] [generated in 0.00053s] {}
[2021-05-08 16:22:35 log.py:info:117 INFO] SELECT DATABASE()
[2021-05-08 16:22:35 log.py:info:117 INFO] [raw sql] {}
[2021-05-08 16:22:36 log.py:info:117 INFO] BEGIN (implicit)
[2021-05-08 16:22:36 log.py:info:117 INFO] SELECT models_datail.id AS models_datail_id, models_datail.name AS models_datail_name, models_datail.content AS models_datail_content, models_datail.create_name AS models_datail_create_name, models_datail.el_expression AS models_datail_el_expression, models_datail.create_at AS models_datail_create_at, models_datail.update_at AS models_datail_update_at 
    FROM models_datail 
    WHERE models_datail.name = %(name_1)s
[2021-05-08 16:22:36 log.py:info:117 INFO] [generated in 0.00038s] {'name_1': 'model_exec_data_source#fst_assemble_flx_v8_score'}
[2021-05-08 16:22:36 log.py:info:117 INFO] SHOW VARIABLES LIKE 'sql_mode'
[2021-05-08 16:22:36 log.py:info:117 INFO] [raw sql] {}
[2021-05-08 16:22:36 log.py:info:117 INFO] SHOW VARIABLES LIKE 'lower_case_table_names'
[2021-05-08 16:22:36 log.py:info:117 INFO] [generated in 0.00059s] {}
[2021-05-08 16:22:36 log.py:info:117 INFO] SELECT DATABASE()
[2021-05-08 16:22:36 log.py:info:117 INFO] [raw sql] {}
[2021-05-08 16:22:36 log.py:info:117 INFO] BEGIN (implicit)
[2021-05-08 16:22:36 log.py:info:117 INFO] SELECT data_set.model_name AS data_set_model_name, models_datail.id AS model_id, data_set.user_count AS data_set_user_count, feature_detail.id AS feature_detail_id, feature_detail.feature_name AS feature_detail_feature_name, feature_detail.feature_type AS feature_detail_feature_type, feature_detail.feature_value AS feature_detail_feature_value, feature_detail.feature_gdp AS feature_detail_feature_gdp, feature_detail.data_type AS feature_detail_data_type, feature_detail.data_round AS feature_detail_data_round 
    FROM data_set INNER JOIN feature_detail ON data_set.feature_name = feature_detail.feature_name INNER JOIN models_datail ON models_datail.name = data_set.model_name 
    WHERE data_set.model_name = %(model_name_1)s AND feature_detail.is_active = %(is_active_1)s
[2021-05-08 16:22:36 log.py:info:117 INFO] [generated in 0.00041s] {'model_name_1': 'model_exec_data_source#fst_assemble_flx_v8_score', 'is_active_1': 1}
[2021-05-08 16:22:36 web.py:log_exception:1793 ERROR] Uncaught exception POST /api/automatic (::1)
    HTTPServerRequest(protocol='http', host='localhost:23020', method='POST', uri='/api/automatic', version='HTTP/1.1', remote_ip='::1')
    Traceback (most recent call last):
      File "/Users/dm/.virtualenvs/model-data-test-0EaRlSf6/lib/python3.7/site-packages/tornado/web.py", line 1702, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/Users/dm/Desktop/python_script/model-data-test/model_data_api/handler/Automatic_Handler.py", line 33, in post
        result = self.get_auto()
      File "/Users/dm/Desktop/python_script/model-data-test/model_data_api/handler/Automatic_Handler.py", line 72, in get_auto
        if result_add_userTest['code'] == 200:
    TypeError: 'NoneType' object is not subscriptable
[2021-05-08 16:22:36 web.py:log_request:2243 ERROR] 500 POST /api/automatic (::1) 1682.81ms
