27ffa988ebeead4044695d58642b628083382d6c,QUANTAXIS/QAMarket/QAOrder.py,QA_OrderQueue,pending,#QA_OrderQueue#,279
Before Change
:return: dataframe
"""
try:
return self.queue_df.query("status!=200").query("status!=500").query("status!=400")
except:
return pd.DataFrame()
After Change
:return: dataframe
"""
try:
return [item for item in self.order_list.values() if item.status in [ORDER_STATUS.QUEUED,ORDER_STATUS.SUCCESS_PART]]
except:
return []
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 27ffa988ebeead4044695d58642b628083382d6c
Time: 2018-07-29
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAMarket/QAOrder.py
Class Name: QA_OrderQueue
Method Name: pending
Project Name: google/deepvariant
Commit Name: e30f5c4613cde9d03a07be745b604cc7e316c2e6
Time: 2018-03-12
Author: mdepristo@google.com
File Name: deepvariant/labeler/positional_labeler.py
Class Name: PositionalVariantLabeler
Method Name: _find_matching_variant_in_reader
Project Name: mlflow/mlflow
Commit Name: 9163c404a731ce79899287c6e4709c6f9c900f55
Time: 2019-01-25
Author: mani@databricks.com
File Name: mlflow/store/sqlalchemy_store.py
Class Name: SqlAlchemyStore
Method Name: list_run_infos