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 e95562d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/jobflow_remote/config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from typing import TYPE_CHECKING, Annotated, Literal, Optional, Union

from jobflow import JobStore
from pydantic import BaseModel, ConfigDict, Field, field_validator
from pydantic import BaseModel, ConfigDict, Field, field_validator, ValidationInfo
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 e95562d

Please sign in to comment.