- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for create_message (1.11 seconds)
-
tests/test_no_schema_split.py
class Message(BaseModel): input: str output: MessageOutput app = FastAPI(title="Minimal FastAPI App", version="1.0.0") @app.post("/messages", response_model=Message) async def create_message(input_message: str) -> Message: return Message( input=input_message, output=MessageOutput(body=f"Processed: {input_message}"), ) client = TestClient(app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 14:34:02 GMT 2026 - 6.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java
return OptionalThing.of(asJson(createFailureBean(Status.BAD_REQUEST, createMessage(resource, cause)))); } @Override public OptionalThing<ApiResponse> handleServerException(final ApiFailureResource resource, final Throwable cause) { return OptionalThing.of(asJson(createFailureBean(Status.SYSTEM_ERROR, createMessage(resource, cause)))); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/SAXRuntimeException.java
*/ public SAXRuntimeException(final SAXException cause) { super("ECL0054", asArray(createMessage(cause)), cause); } /** * Creates a message. * * @param cause the underlying exception * @return the message */ protected static String createMessage(final SAXException cause) { final StringBuilder buf = new StringBuilder(100); buf.append(cause);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
} /** * Creates a new messages instance for handling validation and user messages. * This method can be called by the application to create message containers. * * @return a new FessMessages instance */ @Override public FessMessages createMessages() { // application may callCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15K bytes - Click Count (0)