b8e47c23af012e0396d8d55aaf9a74d5c2376bf7,snorkel/slicing/sf/core.py,slicing_function,__init__,#slicing_function#Any#Any#Any#Any#,49

Before Change


        pre: Optional[List[BasePreprocessor]] = None,
        fault_tolerant: bool = False,
    ) -> None:
        if callable(name):
            raise ValueError("Looks like this decorator is missing parentheses!")
        self.name = name
        self.resources = resources
        self.pre = pre
        self.fault_tolerant = fault_tolerant

    def __call__(self, f: Callable[..., int]) -> SlicingFunction:
        Wrap a function to create a ``SlicingFunction``.

After Change


    ) -> None:
        if callable(name):
            raise ValueError("Looks like this decorator is missing parentheses!")
        self.name = name
        self.resources = resources
        self.pre = pre

    def __call__(self, f: Callable[..., int]) -> SlicingFunction:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: snorkel-team/snorkel
Commit Name: b8e47c23af012e0396d8d55aaf9a74d5c2376bf7
Time: 2019-10-10
Author: henry.ehrenberg@outlook.com
File Name: snorkel/slicing/sf/core.py
Class Name: slicing_function
Method Name: __init__


Project Name: theislab/scanpy
Commit Name: 7e27234c315681f843b3b85f8290796f2601077d
Time: 2019-08-21
Author: flying-sheep@web.de
File Name: docs/conf.py
Class Name:
Method Name:


Project Name: shaypal5/pdpipe
Commit Name: 04fb0bfdc66734e12db2c5df9b3335ccc760a4a5
Time: 2020-01-18
Author: shaypal5@gmail.com
File Name: pdpipe/basic_stages.py
Class Name: ColDrop
Method Name: __init__


Project Name: jonathf/chaospy
Commit Name: 999d2ff75431496c25c7967b990e6b7fc09bb858
Time: 2020-11-03
Author: jonathf@users.noreply.github.com
File Name: chaospy/spectral.py
Class Name:
Method Name: fit_quadrature