Skip to content

Commit 68f1df5

Browse files
committed
Fix mypy
1 parent 594c550 commit 68f1df5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytorch_lightning/utilities/registry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
import inspect
15-
from typing import Callable
15+
from typing import Any
1616

1717

18-
def _is_register_method_overridden(mod: type, base_cls: Callable, method: str) -> bool:
18+
def _is_register_method_overridden(mod: type, base_cls: Any, method: str) -> bool:
1919
mod_attr = getattr(mod, method)
2020
previous_super_cls = inspect.getmro(mod)[1]
2121

0 commit comments

Comments
 (0)