Skip to content

Commit

Permalink
fix "Module 'typing' is imported with both 'import' and 'import from'"
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki committed Apr 25, 2022
1 parent 0a934a5 commit 9aec826
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package/PartSegCore/segmentation/algorithm_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import typing
from abc import ABC, abstractmethod
from copy import deepcopy
from dataclasses import dataclass, field
Expand Down Expand Up @@ -118,7 +117,7 @@ def report_empty_fun(_x, _y): # pragma: no cover # skipcq: PTC-W0049

class AlgorithmInfo(BaseModel, arbitrary_types_allowed=True):
algorithm_name: str
parameters: typing.Any
parameters: Any
image: Image


Expand Down

0 comments on commit 9aec826

Please sign in to comment.