Skip to content

Commit

Permalink
fix shell testutil
Browse files Browse the repository at this point in the history
  • Loading branch information
lostella committed Nov 5, 2024
1 parent b0b5121 commit 248914f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gluonts/testutil/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import typing
import waitress
from contextlib import closing, contextmanager
from dataclasses import dataclass
from dataclasses import dataclass, field
from multiprocessing.context import ForkContext
from pathlib import Path
from typing import Any, ContextManager, Dict, Iterable, List, Optional, Type
Expand Down Expand Up @@ -119,7 +119,7 @@ def free_port() -> int:
class Server:
env: ServeEnv
forecaster_type: Optional[Type[Predictor]]
settings: Settings = Settings()
settings: Settings = field(default_factory=Settings)

def run(self):
flask_app = make_flask_app(
Expand Down

0 comments on commit 248914f

Please sign in to comment.