Skip to content

Commit

Permalink
fix: import notimlementedtype from linopy.types
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianHofmann committed Dec 30, 2024
1 parent 716307d commit 2c9a285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linopy/monkey_patch_xarray.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from __future__ import annotations

from functools import partialmethod, update_wrapper
from types import NotImplementedType
from typing import Any, Callable

from xarray import DataArray

from linopy import expressions, variables
from linopy.types import NotImplementedType


def monkey_patch(cls: type[DataArray], pass_unpatched_method: bool = False) -> Callable:
Expand Down

0 comments on commit 2c9a285

Please sign in to comment.