Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 794 for fOo (0.09 seconds)

  1. docs_src/metadata/tutorial003_py310.py

    from fastapi import FastAPI
    
    app = FastAPI(docs_url="/documentation", redoc_url=None)
    
    
    @app.get("/items/")
    async def read_items():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 161 bytes
    - Click Count (0)
  2. docs_src/path_operation_advanced_configuration/tutorial001_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/", operation_id="some_specific_id_you_define")
    async def read_items():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 167 bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/header-params.md

    例如,声明 `X-Token` 多次出现的请求头,可以写成这样:
    
    {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *}
    
    与*路径操作*通信时,以下面的方式发送两个 HTTP 请求头:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    响应结果是:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## 小结 { #recap }
    
    使用 `Header` 声明请求头的方式与 `Query`、`Path` 、`Cookie` 相同。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:39:41 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

         */
        public void testToJarFilePath() throws Exception {
            final File f = new File("/Program Files/foo.jar");
            final URL url = new URL("jar:" + f.toURI().toURL() + "!/");
            final String root = new File("/").getCanonicalPath();
            assertEquals(root + "Program Files" + File.separator + "foo.jar", JarFileUtil.toJarFilePath(url));
        }
    
        /**
         * @throws Exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. docs_src/custom_response/tutorial001b_py310.py

    from fastapi import FastAPI
    from fastapi.responses import ORJSONResponse
    
    app = FastAPI()
    
    
    @app.get("/items/", response_class=ORJSONResponse)
    async def read_items():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 215 bytes
    - Click Count (0)
  6. docs_src/extra_models/tutorial005_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/keyword-weights/", response_model=dict[str, float])
    async def read_keyword_weights():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 180 bytes
    - Click Count (0)
  7. docs_src/path_operation_advanced_configuration/tutorial003_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/", include_in_schema=False)
    async def read_items():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 148 bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/escape/CharEscaper.java

     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
     * "Foo&lt;Bar&gt;"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the
     * resulting XML document is parsed, the parser API will return this text as the original literal
     * string {@code "Foo<Bar>"}.
     *
     * <p>A {@code CharEscaper} instance is required to be stateless, and safe when used concurrently by
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              {
                set("foo");
              }
            };
        assertFalse(future.cancel(true));
        assertFalse(future.isCancelled());
        assertTrue(future.isDone());
      }
    
      public void testGetWithTimeoutDoneFuture() throws Exception {
        AbstractFuture<String> future =
            new AbstractFuture<String>() {
              {
                set("foo");
              }
            };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  10. docs_src/query_params_str_validations/tutorial012_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[list[str], Query()] = ["foo", "bar"]):
        query_items = {"q": q}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 227 bytes
    - Click Count (0)
Back to Top