first git
CI / ruff (push) Waiting to run
CI / mypy (push) Waiting to run
CI / pytest (push) Waiting to run
CI / package (push) Waiting to run
CI / Install smoke (${{ matrix.label }}) (linux, ubuntu-latest) (push) Blocked by required conditions
CI / Install smoke (${{ matrix.label }}) (macos-arm64, macos-14) (push) Blocked by required conditions
CI / ruff (push) Waiting to run
CI / mypy (push) Waiting to run
CI / pytest (push) Waiting to run
CI / package (push) Waiting to run
CI / Install smoke (${{ matrix.label }}) (linux, ubuntu-latest) (push) Blocked by required conditions
CI / Install smoke (${{ matrix.label }}) (macos-arm64, macos-14) (push) Blocked by required conditions
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
from dataclasses import dataclass, field
|
||||
|
||||
|
||||
@dataclass
|
||||
class SocketReceiverArguments:
|
||||
recv_host: str = field(
|
||||
default="localhost",
|
||||
metadata={
|
||||
"help": "The host IP ddress for the socket connection. Default is '0.0.0.0' which binds to all "
|
||||
"available interfaces on the host machine."
|
||||
},
|
||||
)
|
||||
recv_port: int = field(
|
||||
default=12345,
|
||||
metadata={"help": "The port number on which the socket server listens. Default is 12346."},
|
||||
)
|
||||
chunk_size: int = field(
|
||||
default=1024,
|
||||
metadata={"help": "The size of each data chunk to be sent or received over the socket. Default is 1024 bytes."},
|
||||
)
|
||||
Reference in New Issue
Block a user