Skip to content

Commit 9b9e26e

Browse files
update
1 parent a186370 commit 9b9e26e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/source/user_guide/tutorials/dpf_server/server_types.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ using the :class:`InProcess <ansys.dpf.core.server_types.InProcessServer>` class
2525
2626
from ansys.dpf import core as dpf
2727
local_server = dpf.start_local_server()
28-
local_server
28+
print(local_server)
2929
3030
.. rst-class:: sphx-glr-script-out
3131

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

3535
from ansys.dpf import core as dpf
3636
local_server = dpf.start_local_server()
37-
local_server
37+
print(local_server)
3838

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

@@ -59,7 +59,7 @@ to enable gRPC communication:
5959
from ansys.dpf import core as dpf
6060
grpc_server_config = dpf.AvailableServerConfigs.GrpcServer
6161
grpc_server = dpf.start_local_server(config=grpc_server_config)
62-
grpc_server
62+
print(grpc_server)
6363
6464
.. rst-class:: sphx-glr-script-out
6565

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

7474
You can obtain the server port and IP address:
7575

0 commit comments

Comments
 (0)