fix(backend): allow more than one arg on the tuple (#9535)

<!-- Clearly explain the need for these changes: -->
We allow tuples to be returned from exceptions, but pydantic restricts
their size to 1 b/c the typehint. This fixes that

### Changes 🏗️

<!-- Concisely describe all of the changes made in this pull request:
-->
- Adds `, ...` to the tuple type hint

### Checklist 📋

#### For code changes:
- [x] I have clearly listed my changes in the PR description
- [x] I have made a test plan
- [x] I have tested my changes according to the test plan:
  <!-- Put your test plan here: -->
- [x] Extracted from other pr where it was tested as part of an
exception
This commit is contained in:
Nicholas Tindle
2025-02-27 03:18:14 -06:00
committed by GitHub
parent 58f6491496
commit d7cdf751a8

View File

@@ -242,7 +242,7 @@ class BaseAppService(AppProcess, ABC):
class RemoteCallError(BaseModel):
type: str = "RemoteCallError"
args: Optional[Tuple[Any]] = None
args: Optional[Tuple[Any, ...]] = None
EXCEPTION_MAPPING = {