File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
doc/source/user_guide/tutorials/dpf_server Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
3939This 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
7474You can obtain the server port and IP address:
7575
You can’t perform that action at this time.
0 commit comments