@@ -59,11 +59,13 @@ def create_align_condition(self, **kwargs) -> dict: # noqa: D102
5959
6060 # Create the request - assumes all inputs are valid and of the proper type
6161 request = CreateAlignRequest (
62- request_data = [CreateAlignRequestData (
63- parent = build_grpc_id (kwargs ["parent_id" ]),
64- geometric_a = build_grpc_id (kwargs ["geometric_a_id" ]),
65- geometric_b = build_grpc_id (kwargs ["geometric_b_id" ]),
66- )]
62+ request_data = [
63+ CreateAlignRequestData (
64+ parent = build_grpc_id (kwargs ["parent_id" ]),
65+ geometric_a = build_grpc_id (kwargs ["geometric_a_id" ]),
66+ geometric_b = build_grpc_id (kwargs ["geometric_b_id" ]),
67+ )
68+ ]
6769 )
6870
6971 # Call the gRPC service
@@ -89,11 +91,13 @@ def create_tangent_condition(self, **kwargs) -> dict: # noqa: D102
8991
9092 # Create the request - assumes all inputs are valid and of the proper type
9193 request = CreateTangentRequest (
92- request_data = [CreateTangentRequestData (
93- parent = build_grpc_id (kwargs ["parent_id" ]),
94- geometric_a = build_grpc_id (kwargs ["geometric_a_id" ]),
95- geometric_b = build_grpc_id (kwargs ["geometric_b_id" ]),
96- )]
94+ request_data = [
95+ CreateTangentRequestData (
96+ parent = build_grpc_id (kwargs ["parent_id" ]),
97+ geometric_a = build_grpc_id (kwargs ["geometric_a_id" ]),
98+ geometric_b = build_grpc_id (kwargs ["geometric_b_id" ]),
99+ )
100+ ]
97101 )
98102
99103 # Call the gRPC service
@@ -119,11 +123,13 @@ def create_orient_condition(self, **kwargs) -> dict: # noqa: D102
119123
120124 # Create the request - assumes all inputs are valid and of the proper type
121125 request = CreateOrientRequest (
122- request_data = [CreateOrientRequestData (
123- parent = build_grpc_id (kwargs ["parent_id" ]),
124- geometric_a = build_grpc_id (kwargs ["geometric_a_id" ]),
125- geometric_b = build_grpc_id (kwargs ["geometric_b_id" ]),
126- )]
126+ request_data = [
127+ CreateOrientRequestData (
128+ parent = build_grpc_id (kwargs ["parent_id" ]),
129+ geometric_a = build_grpc_id (kwargs ["geometric_a_id" ]),
130+ geometric_b = build_grpc_id (kwargs ["geometric_b_id" ]),
131+ )
132+ ]
127133 )
128134
129135 # Call the gRPC service
@@ -138,4 +144,4 @@ def create_orient_condition(self, **kwargs) -> dict: # noqa: D102
138144 "offset" : resp .orient_condition .offset ,
139145 "is_reversed" : resp .orient_condition .is_reversed ,
140146 "is_valid" : resp .orient_condition .is_valid ,
141- }
147+ }
0 commit comments