Skip to content

Commit 4eaf3a9

Browse files
authored
[mlir][python] reformat transform ext (llvm#71136)
1 parent a9cc6fc commit 4eaf3a9

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

mlir/python/mlir/dialects/transform/__init__.py

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -52,28 +52,28 @@ def patterns(self) -> Block:
5252

5353
@_ods_cext.register_operation(_Dialect, replace=True)
5454
class GetParentOp(GetParentOp):
55-
def __init__(
56-
self,
57-
result_type: Type,
58-
target: Union[Operation, Value],
59-
*,
60-
isolated_from_above: bool = False,
61-
op_name: Optional[str] = None,
62-
deduplicate: bool = False,
63-
nth_parent: int = 1,
64-
loc=None,
65-
ip=None,
66-
):
67-
super().__init__(
68-
result_type,
69-
_get_op_result_or_value(target),
70-
isolated_from_above=isolated_from_above,
71-
op_name=op_name,
72-
deduplicate=deduplicate,
73-
nth_parent=nth_parent,
74-
loc=loc,
75-
ip=ip,
76-
)
55+
def __init__(
56+
self,
57+
result_type: Type,
58+
target: Union[Operation, Value],
59+
*,
60+
isolated_from_above: bool = False,
61+
op_name: Optional[str] = None,
62+
deduplicate: bool = False,
63+
nth_parent: int = 1,
64+
loc=None,
65+
ip=None,
66+
):
67+
super().__init__(
68+
result_type,
69+
_get_op_result_or_value(target),
70+
isolated_from_above=isolated_from_above,
71+
op_name=op_name,
72+
deduplicate=deduplicate,
73+
nth_parent=nth_parent,
74+
loc=loc,
75+
ip=ip,
76+
)
7777

7878

7979
@_ods_cext.register_operation(_Dialect, replace=True)

0 commit comments

Comments
 (0)