fix: lazy import integrations to avoid pyspark bundling error and add… #17
Annotations
10 errors
|
Pyrefly unsupported-operation:
parallel_web_tools/integrations/bigquery/cloud_function/main.py#L189
Cannot set item in `list[str]`
No matching overload found for function `list.__setitem__` called with arguments: (str, str)
Possible overloads:
(key: SupportsIndex, value: str, /) -> None [closest match]
(key: slice[Any, Any, Any], value: Iterable[str], /) -> None
|
|
Pyrefly unsupported-operation:
parallel_web_tools/integrations/bigquery/cloud_function/main.py#L182
Cannot set item in `list[str]`
No matching overload found for function `list.__setitem__` called with arguments: (str, str)
Possible overloads:
(key: SupportsIndex, value: str, /) -> None [closest match]
(key: slice[Any, Any, Any], value: Iterable[str], /) -> None
|
|
Pyrefly unsupported-operation:
parallel_web_tools/integrations/bigquery/cloud_function/main.py#L180
Cannot set item in `list[str]`
No matching overload found for function `list.__setitem__` called with arguments: (str, str)
Possible overloads:
(key: SupportsIndex, value: str, /) -> None [closest match]
(key: slice[Any, Any, Any], value: Iterable[str], /) -> None
|
|
Pyrefly bad-argument-type:
parallel_web_tools/integrations/bigquery/cloud_function/main.py#L176
Argument `int | str` is not assignable to parameter `output_columns` with type `list[str]` in function `_process_batch`
|
|
Pyrefly bad-argument-type:
parallel_web_tools/integrations/bigquery/cloud_function/main.py#L176
Argument `list[int | str]` is not assignable to parameter `inputs` with type `list[dict[str, Any]]` in function `_process_batch`
|
|
Pyrefly bad-argument-type:
parallel_web_tools/integrations/bigquery/cloud_function/main.py#L170
Argument `int | str` is not assignable to parameter `iterable` with type `Iterable[@_]` in function `tuple.__new__`
Protocol `Iterable` requires attribute `__iter__`
|
|
Pyrefly bad-argument-type:
parallel_web_tools/integrations/bigquery/cloud_function/main.py#L158
Argument `dict[str, int | list[str] | list[Unknown] | str]` is not assignable to parameter `object` with type `dict[str, int | str]` in function `list.append`
|
|
Pyrefly missing-module-attribute:
parallel_web_tools/integrations/bigquery/cloud_function/main.py#L24
Could not import `secretmanager` from `google.cloud`
|
|
Pyrefly missing-import:
parallel_web_tools/integrations/bigquery/cloud_function/main.py#L23
Cannot find module `flask`
Looked in these locations (from config in `/home/runner/work/parallel-web-tools/parallel-web-tools/pyproject.toml`):
Import root (inferred from project layout): "/home/runner/work/parallel-web-tools/parallel-web-tools"
Site package path queried from interpreter: ["/opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12", "/opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/lib-dynload", "/home/runner/work/parallel-web-tools/parallel-web-tools/.venv/lib/python3.12/site-packages", "/home/runner/work/parallel-web-tools/parallel-web-tools"]
|
|
Pyrefly missing-import:
parallel_web_tools/integrations/bigquery/cloud_function/main.py#L22
Cannot find module `functions_framework`
Looked in these locations (from config in `/home/runner/work/parallel-web-tools/parallel-web-tools/pyproject.toml`):
Import root (inferred from project layout): "/home/runner/work/parallel-web-tools/parallel-web-tools"
Site package path queried from interpreter: ["/opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12", "/opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/lib-dynload", "/home/runner/work/parallel-web-tools/parallel-web-tools/.venv/lib/python3.12/site-packages", "/home/runner/work/parallel-web-tools/parallel-web-tools"]
|