Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 1,087 for main (0.02 seconds)

  1. docs/de/docs/deployment/server-workers.md

       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with the
                 following code:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 17:32:56 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  2. docs/ru/docs/tutorial/first-steps.md

    Самый простой файл FastAPI может выглядеть так:
    
    {* ../../docs_src/first_steps/tutorial001_py39.py *}
    
    Скопируйте это в файл `main.py`.
    
    Запустите сервер в режиме реального времени:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/first-steps.md

    # 第一步
    
    最简单的 FastAPI 文件可能像下面这样:
    
    {* ../../docs_src/first_steps/tutorial001.py *}
    
    将其复制到 `main.py` 文件中。
    
    运行实时服务器:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
                 Searching for package file structure from directories
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * href="https://github.com/google/guava/wiki/ListenableFutureExplained">{@code
     * ListenableFuture}</a>.
     *
     * <p>This class is GWT-compatible.
     *
     * <h3>Purpose</h3>
     *
     * <p>The main purpose of {@code ListenableFuture} is to help you chain together a graph of
     * asynchronous operations. You can chain them together manually with calls to methods like {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. scripts/notify_translations.py

            comment_id=comment_id,
            body=body,
        )
        response = UpdateCommentResponse.model_validate(data)
        return response.data.updateDiscussionComment.comment
    
    
    def main() -> None:
        settings = Settings()
        if settings.debug:
            logging.basicConfig(level=logging.DEBUG)
        else:
            logging.basicConfig(level=logging.INFO)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt

          println(response.body.string())
        }
      }
    
      companion object {
        val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType()
      }
    }
    
    fun main() {
      PostString().run()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. docs/en/docs/deployment/cloud.md

    # Deploy FastAPI on Cloud Providers { #deploy-fastapi-on-cloud-providers }
    
    You can use virtually **any cloud provider** to deploy your FastAPI application.
    
    In most of the cases, the main cloud providers have guides to deploy FastAPI with them.
    
    ## FastAPI Cloud { #fastapi-cloud }
    
    **<a href="https://fastapicloud.com" class="external-link" target="_blank">FastAPI Cloud</a>** is built by the same author and team behind **FastAPI**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 19 10:12:00 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/projects/plugin-manager/project-with-plugin-classpath-ordering/sub/repo/org/apache/maven/its/mng3906/a/0.1/a-0.1.pom

            <directory>.</directory>
            <includes>
              <include>pom.xml</include>
              <include>src/**</include>
            </includes>
          </resource>
          <resource>
            <directory>src/main/resources</directory>
          </resource>
        </resources>
      </build>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/projects/plugin-manager/project-with-plugin-classpath-ordering/sub/repo/org/apache/maven/its/mng3906/a/0.2/a-0.2.pom

            <directory>.</directory>
            <includes>
              <include>pom.xml</include>
              <include>src/**</include>
            </includes>
          </resource>
          <resource>
            <directory>src/main/resources</directory>
          </resource>
        </resources>
      </build>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  10. docs_src/app_testing/app_b_an_py39/test_main.py

    from fastapi.testclient import TestClient
    
    from .main import app
    
    client = TestClient(app)
    
    
    def test_read_item():
        response = client.get("/items/foo", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 200
        assert response.json() == {
            "id": "foo",
            "title": "Foo",
            "description": "There goes my hero",
        }
    
    
    def test_read_item_bad_token():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Aug 15 22:31:16 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top