Skip to content

Commit 16fdf58

Browse files
committed
remove type hints
1 parent e8784db commit 16fdf58

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/pymgrid/utils/dry_run.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
import yaml
22

33
from contextlib import contextmanager
4-
from typing import Union
5-
6-
import pymgrid
74

85

96
@contextmanager
10-
def dry_run(pymgrid_object: Union['pymgrid.Microgrid', 'pymgrid.modules.base.BaseMicrogridModule']):
7+
def dry_run(pymgrid_object):
118
"""
129
A context manager to test modifications of a pymgrid object without modifying said object.
1310

0 commit comments

Comments
 (0)