909a943b67b6b472a2d77afa13a8caa61f25f972,distributed/security.py,Security,__init__,#Security#,50
Before Change
def __init__(self, **kwargs):
self._init_from_dict(dask.config.config)
for k, v in kwargs.items():
if v is not None:
setattr(self, k, v)
for k in _fields:
if not hasattr(self, k):
setattr(self, k, None)
After Change
)
def __init__(self, **kwargs):
extra = set(kwargs).difference(self.__slots__)
if extra:
raise TypeError("Unknown parameters: %r" % sorted(extra))
self._set_field(
kwargs, "require_encryption", "distributed.comm.require-encryption"
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: dask/distributed
Commit Name: 909a943b67b6b472a2d77afa13a8caa61f25f972
Time: 2019-07-25
Author: jcrist@users.noreply.github.com
File Name: distributed/security.py
Class Name: Security
Method Name: __init__
Project Name: pantsbuild/pants
Commit Name: dd6afb2e51df558f103ba8b3e11a3871b2015962
Time: 2020-07-15
Author: benjyw@gmail.com
File Name: src/python/pants/backend/project_info/source_file_validator.py
Class Name: MultiMatcher
Method Name: __init__
Project Name: logpai/loglizer
Commit Name: 7c960272c5ab4d25a022538f5849addec3e6bfee
Time: 2019-02-25
Author: zhujm.home@gmail.com
File Name: loglizer/preprocessing.py
Class Name: FeatureExtractor
Method Name: transform