Skip to content

Commit

Permalink
Relax pydantic version
Browse files Browse the repository at this point in the history
  • Loading branch information
blueraft committed Jan 23, 2025
1 parent c999500 commit 3ade8ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions electronicparsers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ class EntryPoint(ParserEntryPoint):
Order of execution of parser with respect to other parsers.
""",
)
code_name: Optional[str]
code_homepage: Optional[str]
code_category: Optional[str]
code_name: Optional[str] = None
code_homepage: Optional[str] = None
code_category: Optional[str] = None
metadata: Optional[dict] = Field(
None,
description="""
Metadata passed to the UI. Deprecated. """
)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies = [
"nomad-parser-plugins-simulation>=1.0.2",
"netCDF4==1.6.5",
"pyyaml>=6.0",
"pydantic>=1.10.8,<2.0.0",
"pydantic>=1.10.8",
]

[project.urls]
Expand Down

0 comments on commit 3ade8ed

Please sign in to comment.