8fdd9b09f45d837f57a21d5608411899df288a9a,sendmail/custom-recipes/send-mails-from-contacts-dataset/recipe.py,,,#,13

Before Change


output.write_schema(output_schema)

if not body_column and not body_value:
    raise Exception("NO body column nor body value specified")


// Prepare attachements
mime_parts = []

After Change



body_column = config.get("body_column", None)
body_value = config.get("body_value", None)
use_body_value = config.get("use_body_value", False)

smtp_host = config.get("smtp_host", None)
smtp_port = int(config.get("smtp_port", "25"))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: dataiku/dataiku-contrib
Commit Name: 8fdd9b09f45d837f57a21d5608411899df288a9a
Time: 2018-01-30
Author: thomas.labadie@gmail.com
File Name: sendmail/custom-recipes/send-mails-from-contacts-dataset/recipe.py
Class Name:
Method Name:


Project Name: googledatalab/pydatalab
Commit Name: 73fad9d06454d7942279475999923af4337edca7
Time: 2017-10-26
Author: 4618540+rajivpb@users.noreply.github.com
File Name: google/datalab/contrib/bigquery/operators/_bq_extract_operator.py
Class Name: ExtractOperator
Method Name: execute


Project Name: AlexEMG/DeepLabCut
Commit Name: 96da2cacf837a9b84ecdeafb50dfb4a93b402f33
Time: 2021-01-06
Author: tr.biasi@gmail.com
File Name: deeplabcut/pose_estimation_tensorflow/nnet/net_factory.py
Class Name:
Method Name: pose_net


Project Name: Qiskit/qiskit-aqua
Commit Name: da60acb78340b5e00f8a0a0f0d93b649f60dcc5d
Time: 2018-08-29
Author: liup@us.ibm.com
File Name: qiskit_aqua/algorithms/components/multiclass/multiclass_extension.py
Class Name: MulticlassExtension
Method Name: init_args