- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for create_message (0.18 sec)
-
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)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java
super(createMessage(message, projectId, null), cause); this.projectId = projectId; } /** * @param projectId * @param message * @param pomFile pom file location */ public ProjectBuildingException(String projectId, String message, File pomFile) { super(createMessage(message, projectId, pomFile)); this.projectId = projectId;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jul 26 19:15:57 UTC 2025 - 6K bytes - Viewed (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)))); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginDescriptorParsingException.java
public class PluginDescriptorParsingException extends Exception { public PluginDescriptorParsingException(Plugin plugin, String descriptorLocation, Throwable e) { super(createMessage(plugin, descriptorLocation, e), e); } private static String createMessage(Plugin plugin, String descriptorLocation, Throwable e) { String message = "Failed to parse plugin descriptor"; if (plugin != null) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (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);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
MojoExecution execution, MavenProject project, Throwable cause) { this(createMessage(messageBuilderFactory, execution, project, cause), execution, project, cause); } public MavenProject getProject() { return project; } private static String createMessage( MessageBuilderFactory messageBuilderFactory, MojoExecution execution,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 3.5K bytes - Viewed (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 callRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 15K bytes - Viewed (0)