Skip to content

Commit 173c710

Browse files
author
Max Ibragimov
committed
[TTDB-450] expanded types for webhook_metadata
1 parent 622d1a2 commit 173c710

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rest_api/pydantic_models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from datetime import datetime
2-
from typing import Union, List
2+
from typing import Union, List, Any
33

44
from pydantic import BaseModel, Field
55

@@ -338,13 +338,13 @@ class StatelessRunnerRequest(BaseModel):
338338
operation_id: str
339339
db_connection_params: DbConnectionParams
340340
webhook_status_url: str
341-
webhook_metadata: Union[str, None] = None # data what will be sent on webhook "as is"
341+
webhook_metadata: Union[Any, None] = None # data what will be sent on webhook "as is"
342342

343343

344344
class StatelessRunnerResponse(BaseModel):
345345
operation_id: str
346346
status_id: int
347-
webhook_metadata: Union[str, None] = None # data what will be sent on webhook "as is"
347+
webhook_metadata: Union[Any, None] = None # data what will be sent on webhook "as is"
348348

349349

350350
class DictionaryMetadata(BaseModel):

0 commit comments

Comments
 (0)