Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 811 - 820 of 1,543 for FieldD (0.06 seconds)

  1. docs_src/custom_response/tutorial007_py39.py

    from fastapi import FastAPI
    from fastapi.responses import StreamingResponse
    
    app = FastAPI()
    
    
    async def fake_video_streamer():
        for i in range(10):
            yield b"some fake video bytes"
    
    
    @app.get("/")
    async def main():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 277 bytes
    - Click Count (0)
  2. CHANGELOG/CHANGELOG-1.7.md

    API fields previously capable of storing and returning either `[]` and `null` via JSON API requests (for example, the Endpoints `subsets` field)
    can now store only `null` when created using the protobuf content-type or stored in etcd using protobuf serialization (the default in 1.6).
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 308.7K bytes
    - Click Count (1)
  3. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsFileAuthentication.java

                addFieldToSource(sourceMap, "username", username);
            }
            return sourceMap;
        }
    
        protected void addFieldToSource(Map<String, Object> sourceMap, String field, Object value) {
            sourceMap.put(field, value);
        }
    
        // ===================================================================================
        //                                                                      Basic Override
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsWebAuthentication.java

                addFieldToSource(sourceMap, "webConfigId", webConfigId);
            }
            return sourceMap;
        }
    
        protected void addFieldToSource(Map<String, Object> sourceMap, String field, Object value) {
            sourceMap.put(field, value);
        }
    
        // ===================================================================================
        //                                                                      Basic Override
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/sql-databases.md

    有一些区别:
    
    * `table=True` 会告诉 SQLModel 这是一个*表模型*,它应该表示 SQL 数据库中的一个*表*,而不仅仅是一个*数据模型*(就像其他常规的 Pydantic 类一样)。
    
    * `Field(primary_key=True)` 会告诉 SQLModel `id` 是 SQL 数据库中的**主键**(您可以在 SQLModel 文档中了解更多关于 SQL 主键的信息)。
    
        把类型设置为 `int | None` ,SQLModel 就能知道该列在 SQL 数据库中应该是 `INTEGER` 类型,并且应该是 `NULLABLE` 。
    
    * `Field(index=True)` 会告诉 SQLModel 应该为此列创建一个 **SQL 索引**,这样在读取按此列过滤的数据时,程序能在数据库中进行更快的查找。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 15 17:11:14 GMT 2024
    - 14.9K bytes
    - Click Count (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java

     * to be lightweight yet powerful, supporting various scopes of object lifecycle from
     * singleton instances to mojo-execution-scoped beans.
     * <p>
     * Key features include:
     * <ul>
     *   <li>Constructor, method, and field injection</li>
     *   <li>Qualifiers for distinguishing between beans of the same type</li>
     *   <li>Multiple scopes (Singleton, Session, and MojoExecution)</li>
     *   <li>Priority-based implementation selection</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 896 bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        @DisplayName("Test getInfo returns decoded information")
        void testGetInfo() throws Exception {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
    
            // Use reflection to set the info field
            var infoField = Smb2QueryInfoResponse.class.getDeclaredField("info");
            infoField.setAccessible(true);
            infoField.set(response, mockDecodable);
    
            assertEquals(mockDecodable, response.getInfo());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  8. docs_src/dependencies/tutorial008e_an_py39.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    def get_username():
        try:
            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    
    @app.get("/users/me")
    def get_user_me(username: Annotated[str, Depends(get_username, scope="function")]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 03 10:12:49 GMT 2025
    - 329 bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/metadata.md

    | `contact` | `dict` | La información de contacto para la API expuesta. Puede contener varios campos. <details><summary><code>contact</code> fields</summary><table><thead><tr><th>Parámetro</th><th>Tipo</th><th>Descripción</th></tr></thead><tbody><tr><td><code>name</code></td><td><code>str</code></td><td>El nombre identificativo de la persona/organización de contacto.</td></tr><tr><td><code>u...
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. docs_src/dependencies/tutorial008c_py39.py

    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
            raise InternalError(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 660 bytes
    - Click Count (0)
Back to Top