Skip to content

Commit

Permalink
PR Feedback: Indented line and renamed request.
Browse files Browse the repository at this point in the history
  • Loading branch information
anskhanson committed Jan 15, 2025
1 parent f8fecd4 commit 82183d9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/ansys/sherlock/core/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def update_potting_region(
>>> from ansys.sherlock.core.types.layer_types import PottingRegion
>>> sherlock = launch_sherlock()
>>>
>>> update_request1 = PottingRegionUpdateData(
>>> update1 = PottingRegionUpdateData(
potting_region_id_to_update=potting_id,
potting_region=PottingRegionData(
cca_name=cca_name,
Expand All @@ -298,7 +298,7 @@ def update_potting_region(
)
)
)
>>> update_request2 = PottingRegionUpdateData(
>>> update2 = PottingRegionUpdateData(
potting_region_id_to_update=potting_id,
potting_region=PottingRegionData(
cca_name=cca_name,
Expand All @@ -314,14 +314,14 @@ def update_potting_region(
)
)
)
>>> all_requests = UpdatePottingRegionRequest(
"project_name",
[
update_request1,
update_request2
]
>>> example_request = UpdatePottingRegionRequest(
"project_name",
[
update1,
update2
]
)
>>> return_codes = sherlock.layer.update_potting_region(all_requests)
>>> return_codes = sherlock.layer.update_potting_region(example_request)
"""
update_request = request._convert_to_grpc()

Expand Down

0 comments on commit 82183d9

Please sign in to comment.