Skip to content

Commit

Permalink
type -> Type for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanSoley committed Sep 27, 2023
1 parent 12f4b01 commit 1507e36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rubicon_ml/client/rubicon_json.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, Dict, List, Optional, Union
from typing import Any, Dict, List, Optional, Type, Union

from jsonpath_ng.ext import parse

Expand Down Expand Up @@ -39,7 +39,7 @@ def _validate_input(
objects: Union[
Rubicon, List[Rubicon], Project, List[Project], Experiment, List[Experiment]
],
obj_cls: Union[type[Rubicon], type[Project], type[Experiment]],
obj_cls: Union[Type[Rubicon], Type[Project], Type[Experiment]],
obj_name: str,
):
formatted_objects = [objects] if not isinstance(objects, list) else objects
Expand Down

0 comments on commit 1507e36

Please sign in to comment.