Skip to content

Commit

Permalink
Fix ValidationInfo import
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Nov 19, 2023
1 parent 66cf919 commit 0ecf1b5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/jobflow_remote/config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import traceback
from enum import Enum
from pathlib import Path
from typing import TYPE_CHECKING, Annotated, Literal, Optional, Union
from typing import Annotated, Literal, Optional, Union

from jobflow import JobStore
from pydantic import BaseModel, ConfigDict, Field, field_validator
from pydantic import BaseModel, ConfigDict, Field, ValidationInfo, field_validator
from qtoolkit.io import BaseSchedulerIO, scheduler_mapping

from jobflow_remote.fireworks.launchpad import RemoteLaunchPad
Expand All @@ -15,9 +15,6 @@

DEFAULT_JOBSTORE = {"docs_store": {"type": "MemoryStore"}}

if TYPE_CHECKING:
from pydantic import ValidationInfo


class RunnerOptions(BaseModel):
"""
Expand Down

0 comments on commit 0ecf1b5

Please sign in to comment.