Skip to content

Commit

Permalink
fix export typing
Browse files Browse the repository at this point in the history
  • Loading branch information
gpetretto committed Nov 23, 2023
1 parent e050ba0 commit 4c81cde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ dependencies =[
"psutil",
"supervisor",
"ruamel.yaml",
"schedule"
"schedule",
"flufl.lock"
]

[project.optional-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions src/jobflow_remote/config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import traceback
from enum import Enum
from pathlib import Path
from typing import Annotated, Literal, Optional, Union
from typing import Annotated, Any, Literal, Optional, Union

from jobflow import JobStore
from maggma.stores import MongoStore
Expand Down Expand Up @@ -373,7 +373,7 @@ class ExecutionConfig(BaseModel):
modules: Optional[list[str]] = Field(
None, description="list of modules to be loaded"
)
export: Optional[dict[str, str]] = Field(
export: Optional[dict[str, Any]] = Field(
None, description="dictionary with variable to be exported"
)
pre_run: Optional[str] = Field(
Expand Down

0 comments on commit 4c81cde

Please sign in to comment.