Skip to content

Commit

Permalink
fix(utils): Fixes test failing due to cyclic import.
Browse files Browse the repository at this point in the history
  • Loading branch information
gugarosa committed May 4, 2022
1 parent 0ba8194 commit d6fb2a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions opytimizer/utils/callback.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
"""Callbacks.
"""

from typing import List, Optional, Union
from typing import List, Optional, TypeVar, Union

import numpy as np

import opytimizer.utils.exception as e
from opytimizer.core.space import Space
from opytimizer.opytimizer import Opytimizer

Opytimizer = TypeVar("Opytimizer")


class Callback:
Expand Down

0 comments on commit d6fb2a1

Please sign in to comment.