mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
11 lines
355 B
Python
11 lines
355 B
Python
"""Request schema for service endpoints."""
|
|
|
|
from pydantic import BaseModel, ConfigDict, Field
|
|
|
|
|
|
class Request(BaseModel):
|
|
"""Incoming service request; extra fields are allowed for endpoint-specific payloads."""
|
|
|
|
model_config = ConfigDict(extra="allow")
|
|
|
|
metadata: dict | None = Field(default=None, description="Request metadata for context")
|