Skip to content

Commit f67139c

Browse files
committed
add docstring improve CI
1 parent c9138bc commit f67139c

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

.github/workflows/ci_cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
env:
9090
ANSYSLMD_LICENSE_FILE: 1055@${{ secrets.LICENSE_SERVER }}
9191
run: |
92-
docker run --detach --name speos-rpc -p 50098:50098 -e SPEOS_MAX_MESSAGE_LENGTH=268435456 -e SPEOS_LOG_LEVEL=2 -e ANSYSLMD_LICENSE_FILE=${{ env.ANSYSLMD_LICENSE_FILE }} -v "${{ github.workspace }}/tests/assets:/app/assets" --entrypoint /app/SpeosRPC_Server.x ghcr.io/ansys/speos-rpc:dev
92+
docker run --detach --name speos-rpc -p 50098:50098 -e SPEOS_LOG_LEVEL=2 -e ANSYSLMD_LICENSE_FILE=${{ env.ANSYSLMD_LICENSE_FILE }} -v "${{ github.workspace }}/tests/assets:/app/assets" --entrypoint /app/SpeosRPC_Server.x ghcr.io/ansys/speos-rpc:dev
9393
- name: "Run Ansys documentation building action"
9494
uses: ansys/actions/doc-build@b46bf28ca54671fcb1444fb119533ecd113e98f0 # v9.0.11
9595
with:

src/ansys/speos/core/kernel/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ class SpeosClient:
122122
channel : ~grpc.Channel, optional
123123
gRPC channel for server communication.
124124
By default, ``None``.
125+
message_size: int
126+
Maximum Message size of a newly generated channel
127+
By default, ``MAX_CLIENT_MESSAGE_SIZE``.
125128
remote_instance : ansys.platform.instancemanagement.Instance
126129
The corresponding remote instance when the Speos Service
127130
is launched through PyPIM. This instance will be deleted when calling

src/ansys/speos/core/launcher.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ def launch_local_speos_rpc_server(
130130
server_message_size : int
131131
Maximum message length value accepted by the Speos RPC server,
132132
By default, value stored in environment variable SPEOS_MAX_MESSAGE_LENGTH or 268 435 456.
133+
client_message_size: int
134+
Maximum Message size of a newly generated channel
135+
By default, ``MAX_CLIENT_MESSAGE_SIZE``.
133136
logfile_loc : str
134137
location for the logfile to be created in.
135138
log_level : int

src/ansys/speos/core/speos.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ class Speos:
5858
channel : ~grpc.Channel, optional
5959
gRPC channel for server communication.
6060
By default, ``None``.
61+
message_size: int
62+
Maximum Message size of a newly generated channel
63+
By default, ``MAX_CLIENT_MESSAGE_SIZE``.
6164
remote_instance : ansys.platform.instancemanagement.Instance
6265
The corresponding remote instance when the Speos Service
6366
is launched through PyPIM. This instance will be deleted when calling

0 commit comments

Comments
 (0)