Skip to content

Commit

Permalink
dont use Typing Type
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Sep 4, 2024
1 parent af8513a commit 4207c87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spinn_utilities/data/data_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.

from enum import Enum
from typing import Type
from spinn_utilities.exceptions import (
DataNotMocked, DataNotYetAvialable, NotSetupException, ShutdownException,
SpiNNUtilsException)
Expand All @@ -39,7 +38,7 @@ def __new__(cls, *args) -> 'DataStatus':
obj._value_ = args[0]
return obj

def __init__(self, value, exception: Type[SpiNNUtilsException]):
def __init__(self, value: int, exception: SpiNNUtilsException):
# pylint: disable=unused-argument
self._exception = exception

Expand Down

0 comments on commit 4207c87

Please sign in to comment.