Skip to content

Commit

Permalink
fix: mipy error on optional parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jagalindo committed May 30, 2023
1 parent 1745f0d commit df621bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flamapy/endpoint/diverso_lab.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, NewType
from typing import Any, NewType, Optional

import hug
from flamapy.core.discover import DiscoverMetamodels
Expand Down Expand Up @@ -38,7 +38,7 @@ def use_operation_from_file(
operation: str,
filename: str,
plugin: str = None,
configuration_file: str = None,
configuration_file: Optional[str] = "None",
versions: int = 1
) -> OperationResult:
"""
Expand Down

0 comments on commit df621bc

Please sign in to comment.