Skip to content

Commit

Permalink
remove type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
ahalev committed Mar 31, 2023
1 parent e8784db commit 16fdf58
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pymgrid/utils/dry_run.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import yaml

from contextlib import contextmanager
from typing import Union

import pymgrid


@contextmanager
def dry_run(pymgrid_object: Union['pymgrid.Microgrid', 'pymgrid.modules.base.BaseMicrogridModule']):
def dry_run(pymgrid_object):
"""
A context manager to test modifications of a pymgrid object without modifying said object.
Expand Down

0 comments on commit 16fdf58

Please sign in to comment.