Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions temporalio/testing/_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ async def start_local(
dev_server_download_version: str = "default",
dev_server_extra_args: Sequence[str] = [],
dev_server_download_ttl: timedelta | None = None,
dev_server_ui_port: str | int | None = None,
) -> WorkflowEnvironment:
"""Start a full Temporal server locally, downloading if necessary.

Expand Down Expand Up @@ -149,6 +150,9 @@ async def start_local(
dev_server_extra_args: Extra arguments for the CLI binary.
dev_server_download_ttl: TTL for the downloaded CLI binary. If unset, it will be
cached indefinitely.
dev_server_ui_port: UI port to use if UI is enabled. If not provided,
a free port will be used. Can be specified as a string (e.g., "8080")
or an integer (e.g., 8080).

Returns:
The started CLI dev server workflow environment.
Expand All @@ -173,6 +177,14 @@ async def start_local(
new_args.append(f"{attr.name}={attr._metadata_type}")
new_args += dev_server_extra_args
dev_server_extra_args = new_args
if dev_server_ui_port is not None:
ui_port_str = str(dev_server_ui_port)
extra_args_list = list(dev_server_extra_args)
if "--ui-port" not in extra_args_list:
# Prepend to extra_args so user-provided args can override if needed
dev_server_extra_args = ["--ui-port", ui_port_str] + extra_args_list
else:
dev_server_extra_args = extra_args_list
# Start CLI dev server
runtime = runtime or temporalio.runtime.Runtime.default()
download_ttl_ms = None
Expand Down
23 changes: 23 additions & 0 deletions tests/testing/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,29 @@
assert attrs == desc.typed_search_attributes


@pytest.mark.parametrize(
"ui_port,extra_args,description",
[
(18080, None, "integer port"),
("18081", None, "string port"),
(18082, ["--ui-port", "18083"], "extra_args takes precedence"),
],
)
async def test_dev_server_ui_port(ui_port, extra_args, description):

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

"description" is not accessed (reportUnusedParameter)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

Type annotation is missing for parameter "description" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

Type annotation is missing for parameter "extra_args" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

Type annotation is missing for parameter "ui_port" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

"description" is not accessed (reportUnusedParameter)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

Type annotation is missing for parameter "description" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

Type annotation is missing for parameter "extra_args" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

Type annotation is missing for parameter "ui_port" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

"description" is not accessed (reportUnusedParameter)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

Type annotation is missing for parameter "description" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

Type annotation is missing for parameter "extra_args" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

Type annotation is missing for parameter "ui_port" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

"description" is not accessed (reportUnusedParameter)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

Type annotation is missing for parameter "description" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

Type annotation is missing for parameter "extra_args" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

Type annotation is missing for parameter "ui_port" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

"description" is not accessed (reportUnusedParameter)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

Type annotation is missing for parameter "description" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

Type annotation is missing for parameter "extra_args" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

Type annotation is missing for parameter "ui_port" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

"description" is not accessed (reportUnusedParameter)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

Type annotation is missing for parameter "description" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

Type annotation is missing for parameter "extra_args" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

Type annotation is missing for parameter "ui_port" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

"description" is not accessed (reportUnusedParameter)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

Type annotation is missing for parameter "description" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

Type annotation is missing for parameter "extra_args" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

Type annotation is missing for parameter "ui_port" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

"description" is not accessed (reportUnusedParameter)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

Type annotation is missing for parameter "description" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

Type annotation is missing for parameter "extra_args" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

Type annotation is missing for parameter "ui_port" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

"description" is not accessed (reportUnusedParameter)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

Type annotation is missing for parameter "description" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

Type annotation is missing for parameter "extra_args" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

Type annotation is missing for parameter "ui_port" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

"description" is not accessed (reportUnusedParameter)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

Type annotation is missing for parameter "description" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

Type annotation is missing for parameter "extra_args" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

Type annotation is missing for parameter "ui_port" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

"description" is not accessed (reportUnusedParameter)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

Type annotation is missing for parameter "description" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

Type annotation is missing for parameter "extra_args" (reportMissingParameterType)

Check warning on line 328 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

Type annotation is missing for parameter "ui_port" (reportMissingParameterType)
"""Test that dev_server_ui_port parameter works correctly."""
kwargs = {
"ui": True,
"dev_server_ui_port": ui_port,
"dev_server_download_version": DEV_SERVER_DOWNLOAD_VERSION,
}
if extra_args:
kwargs["dev_server_extra_args"] = extra_args

async with await WorkflowEnvironment.start_local(**kwargs) as env:

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "ip" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "tls" of type "bool | TLSConfig" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "bool | TLSConfig"     Type "str" is not assignable to type "bool | TLSConfig"       "str" is not assignable to "bool"       "str" is not assignable to "TLSConfig" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "identity" of type "str | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str | None"     Type "bool" is not assignable to type "str | None"       "bool" is not assignable to "str"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "rpc_metadata" of type "Mapping[str, str | bytes]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Mapping[str, str | bytes]"     "bool" is not assignable to "Mapping[str, str | bytes]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "retry_config" of type "RetryConfig | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "RetryConfig | None"     Type "bool" is not assignable to type "RetryConfig | None"       "bool" is not assignable to "RetryConfig"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "default_workflow_query_reject_condition" of type "QueryRejectCondition | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "QueryRejectCondition | None"     Type "bool" is not assignable to type "QueryRejectCondition | None"       "bool" is not assignable to "None"       "bool" is not assignable to "QueryRejectCondition" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "plugins" of type "Sequence[Plugin]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Plugin]"     "bool" is not assignable to "Sequence[Plugin]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "interceptors" of type "Sequence[Interceptor]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Interceptor]"     "bool" is not assignable to "Sequence[Interceptor]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "data_converter" of type "DataConverter" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "DataConverter"     "bool" is not assignable to "DataConverter" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "namespace" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

Argument of type "bool | Unknown | str" cannot be assigned to parameter "ip" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

Argument of type "bool | Unknown | str" cannot be assigned to parameter "tls" of type "bool | TLSConfig" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "bool | TLSConfig"     Type "str" is not assignable to type "bool | TLSConfig"       "str" is not assignable to "bool"       "str" is not assignable to "TLSConfig" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

Argument of type "bool | Unknown | str" cannot be assigned to parameter "identity" of type "str | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str | None"     Type "bool" is not assignable to type "str | None"       "bool" is not assignable to "str"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

Argument of type "bool | Unknown | str" cannot be assigned to parameter "rpc_metadata" of type "Mapping[str, str | bytes]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Mapping[str, str | bytes]"     "bool" is not assignable to "Mapping[str, str | bytes]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

Argument of type "bool | Unknown | str" cannot be assigned to parameter "retry_config" of type "RetryConfig | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "RetryConfig | None"     Type "bool" is not assignable to type "RetryConfig | None"       "bool" is not assignable to "RetryConfig"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

Argument of type "bool | Unknown | str" cannot be assigned to parameter "default_workflow_query_reject_condition" of type "QueryRejectCondition | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "QueryRejectCondition | None"     Type "bool" is not assignable to type "QueryRejectCondition | None"       "bool" is not assignable to "None"       "bool" is not assignable to "QueryRejectCondition" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

Argument of type "bool | Unknown | str" cannot be assigned to parameter "plugins" of type "Sequence[Plugin]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Plugin]"     "bool" is not assignable to "Sequence[Plugin]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

Argument of type "bool | Unknown | str" cannot be assigned to parameter "interceptors" of type "Sequence[Interceptor]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Interceptor]"     "bool" is not assignable to "Sequence[Interceptor]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

Argument of type "bool | Unknown | str" cannot be assigned to parameter "data_converter" of type "DataConverter" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "DataConverter"     "bool" is not assignable to "DataConverter" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / test-latest-deps

Argument of type "bool | Unknown | str" cannot be assigned to parameter "namespace" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "ip" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "tls" of type "bool | TLSConfig" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "bool | TLSConfig"     Type "str" is not assignable to type "bool | TLSConfig"       "str" is not assignable to "bool"       "str" is not assignable to "TLSConfig" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "identity" of type "str | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str | None"     Type "bool" is not assignable to type "str | None"       "bool" is not assignable to "str"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "rpc_metadata" of type "Mapping[str, str | bytes]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Mapping[str, str | bytes]"     "bool" is not assignable to "Mapping[str, str | bytes]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "retry_config" of type "RetryConfig | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "RetryConfig | None"     Type "bool" is not assignable to type "RetryConfig | None"       "bool" is not assignable to "RetryConfig"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "default_workflow_query_reject_condition" of type "QueryRejectCondition | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "QueryRejectCondition | None"     Type "bool" is not assignable to type "QueryRejectCondition | None"       "bool" is not assignable to "None"       "bool" is not assignable to "QueryRejectCondition" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "plugins" of type "Sequence[Plugin]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Plugin]"     "bool" is not assignable to "Sequence[Plugin]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "interceptors" of type "Sequence[Interceptor]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Interceptor]"     "bool" is not assignable to "Sequence[Interceptor]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "data_converter" of type "DataConverter" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "DataConverter"     "bool" is not assignable to "DataConverter" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "namespace" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "ip" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "tls" of type "bool | TLSConfig" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "bool | TLSConfig"     Type "str" is not assignable to type "bool | TLSConfig"       "str" is not assignable to "bool"       "str" is not assignable to "TLSConfig" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "identity" of type "str | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str | None"     Type "bool" is not assignable to type "str | None"       "bool" is not assignable to "str"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "rpc_metadata" of type "Mapping[str, str | bytes]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Mapping[str, str | bytes]"     "bool" is not assignable to "Mapping[str, str | bytes]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "retry_config" of type "RetryConfig | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "RetryConfig | None"     Type "bool" is not assignable to type "RetryConfig | None"       "bool" is not assignable to "RetryConfig"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "default_workflow_query_reject_condition" of type "QueryRejectCondition | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "QueryRejectCondition | None"     Type "bool" is not assignable to type "QueryRejectCondition | None"       "bool" is not assignable to "None"       "bool" is not assignable to "QueryRejectCondition" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "plugins" of type "Sequence[Plugin]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Plugin]"     "bool" is not assignable to "Sequence[Plugin]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "interceptors" of type "Sequence[Interceptor]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Interceptor]"     "bool" is not assignable to "Sequence[Interceptor]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "data_converter" of type "DataConverter" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "DataConverter"     "bool" is not assignable to "DataConverter" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "namespace" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "ip" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "tls" of type "bool | TLSConfig" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "bool | TLSConfig"     Type "str" is not assignable to type "bool | TLSConfig"       "str" is not assignable to "bool"       "str" is not assignable to "TLSConfig" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "identity" of type "str | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str | None"     Type "bool" is not assignable to type "str | None"       "bool" is not assignable to "str"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "rpc_metadata" of type "Mapping[str, str | bytes]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Mapping[str, str | bytes]"     "bool" is not assignable to "Mapping[str, str | bytes]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "retry_config" of type "RetryConfig | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "RetryConfig | None"     Type "bool" is not assignable to type "RetryConfig | None"       "bool" is not assignable to "RetryConfig"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "default_workflow_query_reject_condition" of type "QueryRejectCondition | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "QueryRejectCondition | None"     Type "bool" is not assignable to type "QueryRejectCondition | None"       "bool" is not assignable to "None"       "bool" is not assignable to "QueryRejectCondition" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "plugins" of type "Sequence[Plugin]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Plugin]"     "bool" is not assignable to "Sequence[Plugin]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "interceptors" of type "Sequence[Interceptor]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Interceptor]"     "bool" is not assignable to "Sequence[Interceptor]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "data_converter" of type "DataConverter" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "DataConverter"     "bool" is not assignable to "DataConverter" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "namespace" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "ip" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "tls" of type "bool | TLSConfig" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "bool | TLSConfig"     Type "str" is not assignable to type "bool | TLSConfig"       "str" is not assignable to "bool"       "str" is not assignable to "TLSConfig" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "identity" of type "str | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str | None"     Type "bool" is not assignable to type "str | None"       "bool" is not assignable to "str"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "rpc_metadata" of type "Mapping[str, str | bytes]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Mapping[str, str | bytes]"     "bool" is not assignable to "Mapping[str, str | bytes]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "retry_config" of type "RetryConfig | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "RetryConfig | None"     Type "bool" is not assignable to type "RetryConfig | None"       "bool" is not assignable to "RetryConfig"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "default_workflow_query_reject_condition" of type "QueryRejectCondition | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "QueryRejectCondition | None"     Type "bool" is not assignable to type "QueryRejectCondition | None"       "bool" is not assignable to "None"       "bool" is not assignable to "QueryRejectCondition" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "plugins" of type "Sequence[Plugin]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Plugin]"     "bool" is not assignable to "Sequence[Plugin]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "interceptors" of type "Sequence[Interceptor]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Interceptor]"     "bool" is not assignable to "Sequence[Interceptor]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "data_converter" of type "DataConverter" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "DataConverter"     "bool" is not assignable to "DataConverter" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "namespace" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "ip" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "tls" of type "bool | TLSConfig" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "bool | TLSConfig"     Type "str" is not assignable to type "bool | TLSConfig"       "str" is not assignable to "bool"       "str" is not assignable to "TLSConfig" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "identity" of type "str | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str | None"     Type "bool" is not assignable to type "str | None"       "bool" is not assignable to "str"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "rpc_metadata" of type "Mapping[str, str | bytes]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Mapping[str, str | bytes]"     "bool" is not assignable to "Mapping[str, str | bytes]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "retry_config" of type "RetryConfig | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "RetryConfig | None"     Type "bool" is not assignable to type "RetryConfig | None"       "bool" is not assignable to "RetryConfig"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "default_workflow_query_reject_condition" of type "QueryRejectCondition | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "QueryRejectCondition | None"     Type "bool" is not assignable to type "QueryRejectCondition | None"       "bool" is not assignable to "None"       "bool" is not assignable to "QueryRejectCondition" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "plugins" of type "Sequence[Plugin]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Plugin]"     "bool" is not assignable to "Sequence[Plugin]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "interceptors" of type "Sequence[Interceptor]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Interceptor]"     "bool" is not assignable to "Sequence[Interceptor]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "data_converter" of type "DataConverter" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "DataConverter"     "bool" is not assignable to "DataConverter" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "namespace" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "ip" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "tls" of type "bool | TLSConfig" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "bool | TLSConfig"     Type "str" is not assignable to type "bool | TLSConfig"       "str" is not assignable to "bool"       "str" is not assignable to "TLSConfig" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "identity" of type "str | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str | None"     Type "bool" is not assignable to type "str | None"       "bool" is not assignable to "str"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "rpc_metadata" of type "Mapping[str, str | bytes]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Mapping[str, str | bytes]"     "bool" is not assignable to "Mapping[str, str | bytes]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "retry_config" of type "RetryConfig | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "RetryConfig | None"     Type "bool" is not assignable to type "RetryConfig | None"       "bool" is not assignable to "RetryConfig"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "default_workflow_query_reject_condition" of type "QueryRejectCondition | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "QueryRejectCondition | None"     Type "bool" is not assignable to type "QueryRejectCondition | None"       "bool" is not assignable to "None"       "bool" is not assignable to "QueryRejectCondition" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "plugins" of type "Sequence[Plugin]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Plugin]"     "bool" is not assignable to "Sequence[Plugin]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "interceptors" of type "Sequence[Interceptor]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Interceptor]"     "bool" is not assignable to "Sequence[Interceptor]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "data_converter" of type "DataConverter" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "DataConverter"     "bool" is not assignable to "DataConverter" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, windows-latest)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "namespace" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "ip" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "tls" of type "bool | TLSConfig" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "bool | TLSConfig"     Type "str" is not assignable to type "bool | TLSConfig"       "str" is not assignable to "bool"       "str" is not assignable to "TLSConfig" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "identity" of type "str | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str | None"     Type "bool" is not assignable to type "str | None"       "bool" is not assignable to "str"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "rpc_metadata" of type "Mapping[str, str | bytes]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Mapping[str, str | bytes]"     "bool" is not assignable to "Mapping[str, str | bytes]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "retry_config" of type "RetryConfig | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "RetryConfig | None"     Type "bool" is not assignable to type "RetryConfig | None"       "bool" is not assignable to "RetryConfig"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "default_workflow_query_reject_condition" of type "QueryRejectCondition | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "QueryRejectCondition | None"     Type "bool" is not assignable to type "QueryRejectCondition | None"       "bool" is not assignable to "None"       "bool" is not assignable to "QueryRejectCondition" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "plugins" of type "Sequence[Plugin]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Plugin]"     "bool" is not assignable to "Sequence[Plugin]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "interceptors" of type "Sequence[Interceptor]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Interceptor]"     "bool" is not assignable to "Sequence[Interceptor]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "data_converter" of type "DataConverter" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "DataConverter"     "bool" is not assignable to "DataConverter" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, ubuntu-arm)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "namespace" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "ip" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "tls" of type "bool | TLSConfig" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "bool | TLSConfig"     Type "str" is not assignable to type "bool | TLSConfig"       "str" is not assignable to "bool"       "str" is not assignable to "TLSConfig" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "identity" of type "str | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str | None"     Type "bool" is not assignable to type "str | None"       "bool" is not assignable to "str"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "rpc_metadata" of type "Mapping[str, str | bytes]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Mapping[str, str | bytes]"     "bool" is not assignable to "Mapping[str, str | bytes]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "retry_config" of type "RetryConfig | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "RetryConfig | None"     Type "bool" is not assignable to type "RetryConfig | None"       "bool" is not assignable to "RetryConfig"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "default_workflow_query_reject_condition" of type "QueryRejectCondition | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "QueryRejectCondition | None"     Type "bool" is not assignable to type "QueryRejectCondition | None"       "bool" is not assignable to "None"       "bool" is not assignable to "QueryRejectCondition" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "plugins" of type "Sequence[Plugin]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Plugin]"     "bool" is not assignable to "Sequence[Plugin]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "interceptors" of type "Sequence[Interceptor]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Interceptor]"     "bool" is not assignable to "Sequence[Interceptor]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "data_converter" of type "DataConverter" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "DataConverter"     "bool" is not assignable to "DataConverter" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.10, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "namespace" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "ip" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "tls" of type "bool | TLSConfig" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "bool | TLSConfig"     Type "str" is not assignable to type "bool | TLSConfig"       "str" is not assignable to "bool"       "str" is not assignable to "TLSConfig" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "identity" of type "str | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str | None"     Type "bool" is not assignable to type "str | None"       "bool" is not assignable to "str"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "rpc_metadata" of type "Mapping[str, str | bytes]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Mapping[str, str | bytes]"     "bool" is not assignable to "Mapping[str, str | bytes]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "retry_config" of type "RetryConfig | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "RetryConfig | None"     Type "bool" is not assignable to type "RetryConfig | None"       "bool" is not assignable to "RetryConfig"       "bool" is not assignable to "None" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "default_workflow_query_reject_condition" of type "QueryRejectCondition | None" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "QueryRejectCondition | None"     Type "bool" is not assignable to type "QueryRejectCondition | None"       "bool" is not assignable to "None"       "bool" is not assignable to "QueryRejectCondition" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "plugins" of type "Sequence[Plugin]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Plugin]"     "bool" is not assignable to "Sequence[Plugin]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "interceptors" of type "Sequence[Interceptor]" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "Sequence[Interceptor]"     "bool" is not assignable to "Sequence[Interceptor]" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "data_converter" of type "DataConverter" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "DataConverter"     "bool" is not assignable to "DataConverter" (reportArgumentType)

Check failure on line 338 in tests/testing/test_workflow.py

View workflow job for this annotation

GitHub Actions / build-lint-test (3.14, macos-intel)

Argument of type "bool | Unknown | str" cannot be assigned to parameter "namespace" of type "str" in function "start_local"   Type "bool | Unknown | str" is not assignable to type "str"     "bool" is not assignable to "str" (reportArgumentType)
# Just verify it starts without error
assert env.client is not None


def assert_timestamp_from_now(
ts: datetime | float, expected_from_now: float, max_delta: float = 30
) -> None:
Expand Down
Loading