@@ -354,7 +354,9 @@ def extrude_faces(self, **kwargs) -> dict: # noqa: D102
354354 # Return the response - formatted as a dictionary
355355 return {
356356 "success" : tracked_response .get ("success" ),
357- "created_bodies" : [body .get ("id" ) for body in tracked_response .get ("created_bodies" )],
357+ "created_bodies" : [
358+ body .get ("id" ).id for body in tracked_response .get ("created_bodies" )
359+ ],
358360 }
359361
360362 @protect_grpc
@@ -388,7 +390,9 @@ def extrude_faces_up_to(self, **kwargs) -> dict: # noqa: D102
388390 # Return the response - formatted as a dictionary
389391 return {
390392 "success" : tracked_response .get ("success" ),
391- "created_bodies" : [body .get ("id" ) for body in tracked_response .get ("created_bodies" )],
393+ "created_bodies" : [
394+ body .get ("id" ).id for body in tracked_response .get ("created_bodies" )
395+ ],
392396 }
393397
394398 @protect_grpc
@@ -446,7 +450,9 @@ def revolve_faces(self, **kwargs) -> dict: # noqa: D102
446450 # Return the response - formatted as a dictionary
447451 return {
448452 "success" : tracked_response .get ("success" ),
449- "created_bodies" : [body .get ("id" ) for body in tracked_response .get ("created_bodies" )],
453+ "created_bodies" : [
454+ body .get ("id" ).id for body in tracked_response .get ("created_bodies" )
455+ ],
450456 }
451457
452458 @protect_grpc
@@ -476,7 +482,9 @@ def revolve_faces_up_to(self, **kwargs) -> dict: # noqa: D102
476482 # Return the response - formatted as a dictionary
477483 return {
478484 "success" : tracked_response .get ("success" ),
479- "created_bodies" : [body .get ("id" ) for body in tracked_response .get ("created_bodies" )],
485+ "created_bodies" : [
486+ body .get ("id" ).id for body in tracked_response .get ("created_bodies" )
487+ ],
480488 }
481489
482490 @protect_grpc
@@ -629,7 +637,7 @@ def offset_faces(self, **kwargs) -> dict: # noqa: D102
629637
630638 # Return the response - formatted as a dictionary
631639 return {
632- "results" : [face .get ("id" ) for face in tracked_response .get ("created_faces" )],
640+ "results" : [face .get ("id" ). id for face in tracked_response .get ("created_faces" )],
633641 }
634642
635643 @protect_grpc
0 commit comments