Skip to content

Commit

Permalink
types: removed brackets in type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
BClappe committed Mar 27, 2024
1 parent 5dc5acc commit 94e5f05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ansys/dpf/core/operator_specification.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ class PinSpecification:
"""

name: str
_type_names: list[Any]
_type_names: list
document: str
optional: bool
ellipsis: bool
name_derived_class = str

def __init__(
self, name: str, type_names: list[Any], document="", optional=False, ellipsis=False, name_derived_class=""
self, name: str, type_names: list, document="", optional=False, ellipsis=False, name_derived_class=""
):
self.name = name
self.type_names = type_names
Expand All @@ -69,7 +69,7 @@ def __init__(
self.name_derived_class = name_derived_class

@property
def type_names(self) -> list[Any]:
def type_names(self) -> list:
"""
Returns
-------
Expand Down

0 comments on commit 94e5f05

Please sign in to comment.