Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 1,728 for FieldX (0.09 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. scripts/tests/test_translation_fixer/conftest.py

        with runner.isolated_filesystem():
            yield runner
    
    
    @pytest.fixture(name="root_dir")
    def prepare_paths(runner):
        docs_dir = Path("docs")
        en_docs_dir = docs_dir / "en" / "docs"
        lang_docs_dir = docs_dir / "lang" / "docs"
        en_docs_dir.mkdir(parents=True, exist_ok=True)
        lang_docs_dir.mkdir(parents=True, exist_ok=True)
        yield Path.cwd()
    
    
    @pytest.fixture
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 25 10:37:59 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  6. model.go

    package gorm
    
    import "time"
    
    // Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt
    // It may be embedded into your model or you may build your own model without it
    //
    //	type User struct {
    //	  gorm.Model
    //	}
    type Model struct {
    	ID        uint `gorm:"primarykey"`
    	CreatedAt time.Time
    	UpdatedAt time.Time
    	DeletedAt DeletedAt `gorm:"index"`
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Feb 18 01:06:43 GMT 2023
    - 396 bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/IgnoreJRERequirement.java

     * the License.
     */
    
    package com.google.common.collect;
    
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 02 18:21:28 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/IgnoreJRERequirement.java

     * the License.
     */
    
    package com.google.common.io;
    
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 02 18:21:28 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/IgnoreJRERequirement.java

     * the License.
     */
    
    package com.google.common.base;
    
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 02 18:21:28 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  10. tests/test_request_params/test_query/test_optional_str.py

    from typing import Annotated
    
    import pytest
    from fastapi import FastAPI, Query
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.get("/optional-str")
    async def read_optional_str(p: str | None = None):
        return {"p": p}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 8.4K bytes
    - Click Count (0)
Back to Top