Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
luisaFelixSalles committed Nov 15, 2024
1 parent a186370 commit 9b9e26e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/source/user_guide/tutorials/dpf_server/server_types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ using the :class:`InProcess <ansys.dpf.core.server_types.InProcessServer>` class
from ansys.dpf import core as dpf
local_server = dpf.start_local_server()
local_server
print(local_server)
.. rst-class:: sphx-glr-script-out

Expand All @@ -34,7 +34,7 @@ using the :class:`InProcess <ansys.dpf.core.server_types.InProcessServer>` class

from ansys.dpf import core as dpf
local_server = dpf.start_local_server()
local_server
print(local_server)

This DPF Server can now be used to instantiate models, operators, and more.

Expand All @@ -59,7 +59,7 @@ to enable gRPC communication:
from ansys.dpf import core as dpf
grpc_server_config = dpf.AvailableServerConfigs.GrpcServer
grpc_server = dpf.start_local_server(config=grpc_server_config)
grpc_server
print(grpc_server)
.. rst-class:: sphx-glr-script-out

Expand All @@ -69,7 +69,7 @@ to enable gRPC communication:
from ansys.dpf import core as dpf
grpc_server_config = dpf.AvailableServerConfigs.GrpcServer
grpc_server = dpf.start_local_server(config=grpc_server_config)
grpc_server
print(grpc_server)

You can obtain the server port and IP address:

Expand Down

0 comments on commit 9b9e26e

Please sign in to comment.