Skip to content

Commit

Permalink
improved python version compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
attila-balint-kul committed Jun 22, 2023
1 parent 421f18f commit 113dfb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/enfobench/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.11"
__version__ = "0.0.12"
6 changes: 3 additions & 3 deletions src/enfobench/evaluation/protocols.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from enum import Enum
from typing import Any, Protocol, Optional, List
from typing import Any, Protocol, Optional, List, Dict

import pandas as pd
from pydantic import BaseModel
Expand All @@ -15,11 +15,11 @@ class ForecasterType(str, Enum):
class ModelInfo(BaseModel):
name: str
type: ForecasterType
params: dict[str, Any]
params: Dict[str, Any]


class EnvironmentInfo(BaseModel):
packages: dict[str, str]
packages: Dict[str, str]


class Model(Protocol):
Expand Down

0 comments on commit 113dfb7

Please sign in to comment.