bugraoz93 commented on code in PR #45715: URL: https://github.com/apache/airflow/pull/45715#discussion_r1922851860
########## airflow/api_fastapi/core_api/datamodels/connections.py: ########## @@ -90,8 +91,74 @@ class ConnectionBody(BaseModel): extra: str | None = Field(default=None) -class ConnectionBulkBody(BaseModel): - """Connections Serializer for requests body.""" +class ConnectionBulkCreateAction(BaseModel): + """Bulk Create Variable serializer for request bodies.""" + + action: Literal["create"] = "create" Review Comment: Updated as an Enum and applied the changes to `variables` too. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org