From 6833eb0af4f77f487f4d26acc669b7389b58ce50 Mon Sep 17 00:00:00 2001 From: Akash Gupta Date: Thu, 28 Nov 2024 19:21:27 +0530 Subject: [PATCH] remove regex in request_id for InputMessage (#99) * remove regex in request_id for InputMessage * fix regex --- async_processor/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async_processor/types.py b/async_processor/types.py index 3c9f891..011ba67 100644 --- a/async_processor/types.py +++ b/async_processor/types.py @@ -48,7 +48,7 @@ def get_request_method(self) -> Optional[str]: class InputMessage(InputMessageInterface): - request_id: constr(regex=r"^[a-zA-Z0-9\-]{1,36}$") + request_id: constr(min_length=1) body: Any published_at_epoch_ns: Optional[int] = None stream_response: bool = False