3c8509c5711bf3e3edef1cd0bfd3a767ab426ab0,QUANTAXIS/QACmd/__init__.py,CLI,do_examples,#CLI#Any#,66
Before Change
def do_examples(self, arg):
QA_util_log_info("QUANTAXIS example")
now_path = os.getcwd()
project_dir = os.path.dirname(os.path.abspath(__file__))
file_dir = ""
if platform.system() == "Windows":
file_dir = project_dir + "\\backtest.py"
elif platform.system() in ["Linux", "Darwin"]:
file_dir = project_dir + "/backtest.py"
shutil.copy(file_dir, now_path)
QA_util_log_info(
After Change
now_path = os.getcwd()
//project_dir = os.path.dirname(os.path.abspath(__file__))
data=requests.get("https://codeload.github.com/yutiansut/QADemo/zip/master")
with open("{}{}QADEMO.zip".format(now_path,os.sep), "wb") as code:
code.write(data.content)
QA_util_log_info(
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 3c8509c5711bf3e3edef1cd0bfd3a767ab426ab0
Time: 2018-04-22
Author: yutiansut@qq.com
File Name: QUANTAXIS/QACmd/__init__.py
Class Name: CLI
Method Name: do_examples
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 869e56edc7e3153b534f065e6a73d924ec28bec3
Time: 2020-05-26
Author: tmatsuo@google.com
File Name: appengine/flexible/scipy/main_test.py
Class Name:
Method Name: test_index
Project Name: jazzband/django-debug-toolbar
Commit Name: 5b1fd5a96eca2522b173ea6266ecef026fab78c6
Time: 2013-10-21
Author: simon@simonmeers.com
File Name: debug_toolbar/utils/__init__.py
Class Name:
Method Name:
Project Name: IDSIA/sacred
Commit Name: 0cd42478586c9cb1febb6b76eea068aac8869a1e
Time: 2018-01-24
Author: dismaldenizen@gmail.com
File Name: sacred/ingredient.py
Class Name: Ingredient
Method Name: __init__