Skip to content

Commit c8543fe

Browse files
Update integration.rst (#74)
* Update integration.rst fix the sample code * Fix and update pre-commits (#75) (#76) * Fix and update pre-commits Co-authored-by: Pierre Lulé <pierre.lule@ansys.com> Co-authored-by: Pierre Lulé <pierre.lule@ansys.com>
1 parent 9019d69 commit c8543fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/integration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Instead of:
2929
3030
if pypim.is_configured():
3131
pim = pypim.connect()
32-
instance = pypim.create_instance(product_name="mapdl")
32+
instance = pim.create_instance(product_name="mapdl")
3333
channel = instance.build_grpc_channel(
3434
options=[("grpc.max_receive_message_length", 8 * 1024**2)]
3535
)
@@ -105,7 +105,7 @@ Typically, the resulting code looks like this:
105105
def launch_my_product(self, ...):
106106
if pypim.is_configured() and not user_has_specified_how_to_launch_the_product:
107107
pim = pypim.connect()
108-
self.instance = pypim.create_instance("my_product_name")
108+
self.instance = pim.create_instance("my_product_name")
109109
self.instance.wait_for_ready()
110110
channel = self.instance.build_grpc_channel()
111111
else:

0 commit comments

Comments
 (0)