Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,322 for tuning (0.09 sec)

  1. docs_src/websockets/tutorial002_an.py

    from typing import Union
    
    from fastapi import (
        Cookie,
        Depends,
        FastAPI,
        Query,
        WebSocket,
        WebSocketException,
        status,
    )
    from fastapi.responses import HTMLResponse
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. docs_src/websockets/tutorial002_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import (
        Cookie,
        Depends,
        FastAPI,
        Query,
        WebSocket,
        WebSocketException,
        status,
    )
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/sub-applications.md

    ```
    
    ### 查看文档
    
    如果主文件是 `main.py`,则用以下 `uvicorn` 命令运行主应用:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    查看文档 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs。</a>
    
    下图显示的是主应用 API 文档,只包括其自有的*路径操作*。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. architecture/standards/0001-use-architectural-decision-records.md

    The main logic with ADRs is to describe (architectural) decisions made:
    
    * To provide best practices and solutions we (as the *build tool* team) want to promote.
    * To avoid asking the same thing multiple times during code review.
    * To explain *rejected solutions*, for now, and future development, in case they are proposed again.
    
    ADRs can be written by any team.
    Like code, they should be reviewed by any other relevant teams.
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Mar 02 21:54:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblem.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Describes a problem that was encountered during model building. A problem can either be an exception that was thrown
     * or a simple string message. In addition, a problem carries a hint about its source, e.g. the POM file that exhibits
     * the problem.
     *
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java

    import org.apache.maven.artifact.resolver.ArtifactNotFoundException;
    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    
    /**
     * Describes a version transformation during artifact resolution - "latest" type
     */
    @Named("latest")
    @Singleton
    @Deprecated
    public class LatestArtifactTransformation extends AbstractVersionTransformation {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenInvoker.java

         * @return an integer representing the exit code of the Maven invocation (0 typically indicates success)
         * @throws InvokerException if an error occurs during the Maven invocation process
         */
        @Override
        int invoke(@Nonnull R invokerRequest) throws InvokerException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java

     * under the License.
     */
    package org.apache.maven.api.plugin;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.MavenException;
    
    /**
     * An exception occurring during the execution of a plugin.
     *
     * @since 4.0.0
     */
    @Experimental
    public class MojoException extends MavenException {
    
        protected Object source;
    
        protected String longMessage;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. docs_src/sql_databases/tutorial002_an.py

    from typing import List, Union
    
    from fastapi import Depends, FastAPI, HTTPException, Query
    from sqlmodel import Field, Session, SQLModel, create_engine, select
    from typing_extensions import Annotated
    
    
    class HeroBase(SQLModel):
        name: str = Field(index=True)
        age: Union[int, None] = Field(default=None, index=True)
    
    
    class Hero(HeroBase, table=True):
        id: Union[int, None] = Field(default=None, primary_key=True)
        secret_name: str
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. docs_src/sql_databases/tutorial002_py39.py

    from typing import Union
    
    from fastapi import Depends, FastAPI, HTTPException, Query
    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class HeroBase(SQLModel):
        name: str = Field(index=True)
        age: Union[int, None] = Field(default=None, index=True)
    
    
    class Hero(HeroBase, table=True):
        id: Union[int, None] = Field(default=None, primary_key=True)
        secret_name: str
    
    
    class HeroPublic(HeroBase):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top