Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 511 - 520 of 1,360 for FieldD (0.04 seconds)

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

  1. tests/test_compat.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel, ConfigDict
    from pydantic.fields import FieldInfo
    
    
    def test_model_field_default_required():
        from fastapi._compat import v2
    
        # For coverage
        field_info = FieldInfo(annotation=str)
        field = v2.ModelField(name="foo", field_info=field_info)
        assert field.default is Undefined
    
    
    def test_complex():
        app = FastAPI()
    
        @app.post("/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/SearchForm.java

     */
    public class SearchForm {
    
        /**
         * Default constructor for SearchForm.
         */
        public SearchForm() {
        }
    
        /**
         * The search term field for related queries.
         */
        public String term;
    
        /**
         * The queries field for searching related queries.
         */
        public String queries;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

         * @return the request trace, or {@code null} if no trace information is available
         */
        @Nullable
        RequestTrace getTrace();
    
        /**
         * Returns a hashcode value for this request, based on all significant fields.
         * Implementations must ensure that if two requests are equal according to
         * {@link #equals(Object)}, they have the same hashcode.
         *
         * @return a hash code value for this request
         */
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. pyproject.toml

        # For the test client
        "httpx >=0.23.0,<1.0.0",
        # For templates
        "jinja2 >=3.1.5",
        # For forms and file uploads
        "python-multipart >=0.0.18",
        # To validate email fields
        "email-validator >=2.0.0",
        # Uvicorn with uvloop
        "uvicorn[standard] >=0.12.0",
        # # Settings management
        "pydantic-settings >=2.0.0",
        # # Extra Pydantic data types
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/SearchForm.java

        /**
         * Default constructor for SearchForm.
         */
        public SearchForm() {
        }
    
        /**
         * The regular name field for duplicate host configuration.
         */
        public String regularName;
    
        /**
         * The duplicate host name field for searching duplicate hosts.
         */
        public String duplicateHostName;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/dcerpc/rpc.java

                // Default constructor
            }
    
            /** The low field of the timestamp */
            public int time_low;
            /** The middle field of the timestamp */
            public short time_mid;
            /** The high field of the timestamp multiplexed with the version number */
            public short time_hi_and_version;
            /** The high field of the clock sequence multiplexed with the variant */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/server-sent-events.md

    ## Streaming de SSE con FastAPI { #stream-sse-with-fastapi }
    
    Para hacer streaming de SSE con FastAPI, usa `yield` en tu path operation function y establece `response_class=EventSourceResponse`.
    
    import `EventSourceResponse` de `fastapi.sse`:
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *}
    
    Cada ítem producido con `yield` se codifica como JSON y se envía en el campo `data:` de un evento SSE.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/security/simple-oauth2.md

    OAuth2 specifies that when using the "password flow" (that we are using) the client/user must send a `username` and `password` fields as form data.
    
    And the spec says that the fields have to be named like that. So `user-name` or `email` wouldn't work.
    
    But don't worry, you can show it as you wish to your final users in the frontend.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/metadata.md

    | `terms_of_service` | `str` | APIの利用規約へのURLです。指定する場合、URLである必要があります。 |
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  10. tests/test_response_model_default_factory.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class ResponseModel(BaseModel):
        code: int = 200
        message: str = Field(default_factory=lambda: "Successful operation.")
    
    
    @app.get(
        "/response_model_has_default_factory_return_dict",
        response_model=ResponseModel,
    )
    async def response_model_has_default_factory_return_dict():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Sep 20 18:51:40 GMT 2025
    - 1.2K bytes
    - Click Count (0)
Back to Top