72c46671aa6bafb4c885ce9c84e098463499d50d,tests/examples/collect_examples.py,,get_server_examples,#Any#,92
Before Change
all_examples = get_all_examples(all_notebooks)
// Remove examples for skipping
server_examples = []
for example, flags in all_examples:
if flags & Flags.file:
skip(example, "skip file example")
elif flags & Flags.notebook:
skip(example, "skip notebook example")
elif flags & Flags.skip:
skip(example, "manual skip")
else:
server_examples.append(example)
return server_examples
def get_notebook_examples(all_notebooks):
After Change
def get_server_examples(all_notebooks):
all_examples = get_all_examples(all_notebooks)
server_examples = [example for example, flags in all_examples if flags & Flags.server]
return server_examples
def get_notebook_examples(all_notebooks):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 20
Instances
Project Name: bokeh/bokeh
Commit Name: 72c46671aa6bafb4c885ce9c84e098463499d50d
Time: 2016-02-20
Author: sarah@bonvaya.com
File Name: tests/examples/collect_examples.py
Class Name:
Method Name: get_server_examples
Project Name: bokeh/bokeh
Commit Name: 72c46671aa6bafb4c885ce9c84e098463499d50d
Time: 2016-02-20
Author: sarah@bonvaya.com
File Name: tests/examples/collect_examples.py
Class Name:
Method Name: get_file_examples
Project Name: bokeh/bokeh
Commit Name: 72c46671aa6bafb4c885ce9c84e098463499d50d
Time: 2016-02-20
Author: sarah@bonvaya.com
File Name: tests/examples/collect_examples.py
Class Name:
Method Name: get_notebook_examples
Project Name: bokeh/bokeh
Commit Name: 72c46671aa6bafb4c885ce9c84e098463499d50d
Time: 2016-02-20
Author: sarah@bonvaya.com
File Name: tests/examples/collect_examples.py
Class Name:
Method Name: get_server_examples