Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 866 for Lain (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/app_testing/app_b_py310/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: Wed Mar 13 19:07:10 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_settings/test_app01.py

    
    @pytest.fixture(
        name="mod_name",
        params=[
            pytest.param("app01_py39"),
        ],
    )
    def get_mod_name(request: pytest.FixtureRequest):
        return f"docs_src.settings.{request.param}.main"
    
    
    @pytest.fixture(name="client")
    def get_test_client(mod_name: str, monkeypatch: MonkeyPatch) -> TestClient:
        if mod_name in sys.modules:
            del sys.modules[mod_name]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

        /** The component <code>role</code> hint for Plexus container */
        String ROLE = Mojo.class.getName();
    
        /**
         * Perform whatever build-process behavior this <code>Mojo</code> implements.<br>
         * This is the main trigger for the <code>Mojo</code> inside the <code>Maven</code> system, and allows
         * the <code>Mojo</code> to communicate errors.
         *
         * @throws MojoExecutionException if an unexpected problem occurs.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  4. docs/ru/docs/advanced/sub-applications.md

    ### Проверьте автоматическую документацию API { #check-the-automatic-api-docs }
    
    Теперь запустите команду `fastapi` с вашим файлом:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/first-steps.md

    Die einfachste FastAPI-Datei könnte wie folgt aussehen:
    
    {* ../../docs_src/first_steps/tutorial001_py39.py *}
    
    Kopieren Sie das in eine Datei `main.py`.
    
    Starten Sie den Live-Server:
    
    <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
    - 14.3K bytes
    - Click Count (0)
  6. docs/ja/docs/index.md

    ```
    
    </div>
    
    <details markdown="1">
    <summary><code>uvicorn main:app --reload</code>コマンドについて</summary>
    
    `uvicorn main:app`コマンドは以下の項目を参照します:
    
    - `main`: `main.py`ファイル (Python "モジュール")
    - `app`: `main.py` の`app = FastAPI()`の行で生成されたオブジェクト
    - `--reload`: コードを変更したらサーバーを再起動します。このオプションは開発環境でのみ使用します
    
    </details>
    
    ### 動作確認
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_request_files/test_tutorial003.py

                                },
                            },
                        },
                    }
                },
                "/": {
                    "get": {
                        "summary": "Main",
                        "operationId": "main__get",
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateAutoTestedSamplesTestTask.kt

    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    import java.util.regex.Pattern
    import javax.inject.Inject
    
    /**
     * This task scans the main source set and findd samples in javadoc with `class='autoTested'`,
     * then generates a subclass of AbstractAutoTestedSamplesTest for each class including samples and adds them to the integTest.
     *
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/examples/simple-project/src/main/java/org/apache/maven/embedder/App.java

     * specific language governing permissions and limitations
     * under the License.
     */
    
    package org.apache.maven.embedder;
    
    /**
     * Hello world!
     *
     */
    public class App
    {
        public static void main( String[] args )
        {
            System.out.println( "Hello World!" );
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 14:10:21 GMT 2025
    - 996 bytes
    - Click Count (0)
  10. docs/en/docs/alternatives.md

    It's relatively tightly coupled with relational databases (like MySQL or PostgreSQL), so, having a NoSQL database (like Couchbase, MongoDB, Cassandra, etc) as the main store engine is not very easy.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 23.6K bytes
    - Click Count (0)
Back to Top