From 081c4fe663c29b07a00edeaa02d7319b1b0fbd43 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 9 Apr 2025 06:23:34 +0000 Subject: [PATCH] Code are generated by openapi generator --- line-openapi | 2 +- linebot/v3/webhooks/models/source.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/line-openapi b/line-openapi index 31fa3c734..2f3805813 160000 --- a/line-openapi +++ b/line-openapi @@ -1 +1 @@ -Subproject commit 31fa3c7340c17a495906c96cca14ed38a93caafa +Subproject commit 2f38058136b8f9237feafe34ea86a4be98455fb3 diff --git a/linebot/v3/webhooks/models/source.py b/linebot/v3/webhooks/models/source.py index 30a878c0c..f840986d5 100644 --- a/linebot/v3/webhooks/models/source.py +++ b/linebot/v3/webhooks/models/source.py @@ -19,7 +19,7 @@ import linebot.v3.webhooks.models -from typing import Optional, Union +from typing import Union from pydantic.v1 import BaseModel, Field, StrictStr class Source(BaseModel): @@ -27,7 +27,7 @@ class Source(BaseModel): the source of the event. https://developers.line.biz/en/reference/messaging-api/#source-user """ - type: Optional[StrictStr] = Field(None, description="source type") + type: StrictStr = Field(..., description="source type") __properties = ["type"]