Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relaxed enforced type of orig_input #175

Merged
merged 1 commit into from
Mar 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions emmet-core/emmet/core/vasp/task.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
""" Core definition of a VASP Task Document """
from datetime import datetime
from functools import lru_cache, partial
from typing import ClassVar, Dict, List, Optional, Union
from typing import ClassVar, Dict, List, Optional, Union, Any

from pydantic import BaseModel, Field, validator
from pymatgen.analysis.magnetism import CollinearMagneticStructureAnalyzer, Ordering
Expand Down Expand Up @@ -124,7 +124,7 @@ class TaskDocument(StructureMetadata):

state: Status = Field(None, description="State of this calculation")

orig_inputs: Dict[str, Dict] = Field(
orig_inputs: Dict[str, Any] = Field(
{}, description="Summary of the original VASP inputs"
)
task_id: Union[MPID, int] = Field(None, description="the Task ID For this document")
Expand Down