Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,081 for umajin (0.26 sec)

  1. tests/test_tutorial/test_custom_response/test_tutorial005.py

        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/": {
                    "get": {
                        "summary": "Main",
                        "operationId": "main__get",
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 985 bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/async-tests.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    文件 `main.py` 将包含:
    
    {* ../../docs_src/async_tests/main.py *}
    
    文件 `test_main.py` 将包含针对 `main.py` 的测试,现在它可能看起来如下:
    
    {* ../../docs_src/async_tests/test_main.py *}
    
    ## 运行测试
    
    您可以通过以下方式照常运行测试:
    
    <div class="termy">
    
    ```console
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 17 21:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. fastapi/cli.py

    try:
        from fastapi_cli.cli import main as cli_main
    
    except ImportError:  # pragma: no cover
        cli_main = None  # type: ignore
    
    
    def main() -> None:
        if not cli_main:  # type: ignore[truthy-function]
            message = 'To use the fastapi command, please install "fastapi[standard]":\n\n\tpip install "fastapi[standard]"\n'
            print(message)
            raise RuntimeError(message)  # noqa: B904
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Aug 02 06:03:05 UTC 2024
    - 418 bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/admin/keymatch/admin_keymatch_edit.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="crawl"/>
            <jsp:param name="menuType" value="keyMatch"/>
        </jsp:include>
        <main class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/cmd/addr2line/addr2line_test.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    // TestMain executes the test binary as the addr2line command if
    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

        /**
         * {@return in which context the source files will be used}
         * Not to be confused with dependency scope.
         * The default value is {@code "main"}.
         *
         * @see ProjectScope#MAIN
         */
        default ProjectScope scope() {
            return ProjectScope.MAIN;
        }
    
        /**
         * {@return the language of the source files}
         * The default value is {@code "java"}.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            }
            return docs.subList(fromIndex, toIndex);
        }
    
        /**
         * Performs a search using only the main searcher without rank fusion.
         * This method is used when only one searcher is available or configured.
         *
         * @param searcher the main searcher to use for the search operation
         * @param query the search query string
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  8. tests/test_callable_endpoint.py

    from functools import partial
    from typing import Optional
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    
    def main(some_arg, q: Optional[str] = None):
        return {"some_arg": some_arg, "q": q}
    
    
    endpoint = partial(main, "foo")
    
    app = FastAPI()
    
    app.get("/")(endpoint)
    
    
    client = TestClient(app)
    
    
    def test_partial():
        response = client.get("/?q=bar")
        data = response.json()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Jun 28 18:13:30 UTC 2020
    - 457 bytes
    - Viewed (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report.gradle.kts

        title = project.name
        versionFile = repoRoot().file("version.txt")
        releasedVersionsFile = releasedVersionsFile()
        sources.from(sourceSets.main.get().java.sourceDirectories)
        sources.from(sourceSets.main.get().groovy.sourceDirectories)
        htmlReportFile = file(layout.buildDirectory.file("reports/incubation/${project.name}.html"))
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jul 02 12:28:02 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/boostdoc/admin_boostdoc.jsp

        <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
            <jsp:param name="menuCategoryType" value="crawl"/>
            <jsp:param name="menuType" value="boostDocumentRule"/>
        </jsp:include>
        <main class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top