Skip to content

Commit

Permalink
Bump pytest version because of dependabot issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Meyers committed May 10, 2024
1 parent e38b7a6 commit 80f946a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mypy>=1.4.1
pytest~=7.1.3
pytest~=7.2.0
pytest-cov>=2.8.1
pytest-randomly>=3.12.0
types-python-dateutil>=2.8.19
4 changes: 2 additions & 2 deletions unity_sps_ogc_processes_api_python_client/models/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate(
{
"inputs": (
AnyOf.from_dict(obj["inputs"]) # noqa: F821
AnyOf.from_dict(obj["inputs"]) # noqa: F821
if obj.get("inputs") is not None
else None
),
"outputs": (
AnyOf.from_dict(obj["outputs"]) # noqa: F821
AnyOf.from_dict(obj["outputs"]) # noqa: F821
if obj.get("outputs") is not None
else None
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(self, *args, **kwargs) -> None:

@field_validator("actual_instance")
def actual_instance_must_validate_anyof(cls, v):
instance = Metadata.model_construct()
instance = Metadata.model_construct() # noqa: F841
error_messages = []
# validate data type: Metadata1
if not isinstance(v, Metadata1):
Expand Down

0 comments on commit 80f946a

Please sign in to comment.