Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 771 - 780 of 828 for metadata (0.13 seconds)

  1. docs_src/json_base64_bytes/tutorial001_py310.py

    app = FastAPI()
    
    
    @app.post("/data")
    def post_data(body: DataInput):
        content = body.data.decode("utf-8")
        return {"description": body.description, "content": content}
    
    
    @app.get("/data")
    def get_data() -> DataOutput:
        data = "hello".encode("utf-8")
        return DataOutput(description="A plumbus", data=data)
    
    
    @app.post("/data-in-out")
    def post_data_in_out(body: DataInputOutput) -> DataInputOutput:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 892 bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/query-param-models.md

    Si tienes un grupo de **parámetros query** que están relacionados, puedes crear un **modelo de Pydantic** para declararlos.
    
    Esto te permitiría **reutilizar el modelo** en **múltiples lugares** y también declarar validaciones y metadatos para todos los parámetros de una vez. 😎
    
    /// note | Nota
    
    Esto es compatible desde la versión `0.115.0` de FastAPI. 🤓
    
    ///
    
    ## Parámetros Query con un Modelo Pydantic { #query-parameters-with-a-pydantic-model }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. docs/es/docs/advanced/path-operation-advanced-configuration.md

    ## Responses Adicionales { #additional-responses }
    
    Probablemente has visto cómo declarar el `response_model` y el `status_code` para una *path operation*.
    
    Eso define los metadatos sobre el response principal de una *path operation*.
    
    También puedes declarar responses adicionales con sus modelos, códigos de estado, etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/DefaultEventSpyContext.java

     */
    @Deprecated
    public class DefaultEventSpyContext implements EventSpy.Context {
    
        private final Map<String, Object> data = new HashMap<>();
    
        @Override
        public Map<String, Object> getData() {
            return data;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/query-param-models.md

    Dadurch können Sie das **Modell an mehreren Stellen wiederverwenden** und gleichzeitig Validierungen und Metadaten für alle Parameter auf einmal deklarieren. 😎
    
    /// note | Hinweis
    
    Dies wird seit FastAPI Version `0.115.0` unterstützt. 🤓
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  6. docs/de/docs/advanced/path-operation-advanced-configuration.md

    ## Zusätzliche Responses { #additional-responses }
    
    Sie haben wahrscheinlich gesehen, wie man das `response_model` und den `status_code` für eine *Pfadoperation* deklariert.
    
    Das definiert die Metadaten der Haupt-<abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> einer *Pfadoperation*.
    
    Sie können auch zusätzliche Responses mit deren Modellen, Statuscodes usw. deklarieren.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/schema-extra-example.md

    /// tip | Consejo
    
    Podrías usar la misma técnica para extender el JSON Schema y añadir tu propia información extra personalizada.
    
    Por ejemplo, podrías usarlo para añadir metadatos para una interfaz de usuario frontend, etc.
    
    ///
    
    /// info | Información
    
    OpenAPI 3.1.0 (usado desde FastAPI 0.99.0) añadió soporte para `examples`, que es parte del estándar de **JSON Schema**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  8. tests/test_dependency_after_yield_streaming.py

            yield s
    
    
    SessionDep = Annotated[Session, Depends(dep_session)]
    BrokenSessionDep = Annotated[Session, Depends(broken_dep_session)]
    
    app = FastAPI()
    
    
    @app.get("/data")
    def get_data(session: SessionDep) -> Any:
        data = list(session)
        return data
    
    
    @app.get("/stream-simple")
    def get_stream_simple(session: SessionDep) -> Any:
        def iter_data():
            yield from ["x", "y", "z"]
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

            /**
             * Gets key-value pairs providing information about the Maven runtime.
             *
             * @return The key-value pairs, never {@code null}.
             */
            Map<String, Object> getData();
        }
    
        /**
         * Initializes the spy.
         *
         * @param context The event spy context, never {@code null}.
         */
        void init(Context context) throws Exception;
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Feb 10 15:02:53 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/DfsReferral.java

            this.data = data;
        }
    
        /**
         * Get the DFS referral data associated with this referral
         *
         * @return the DFS referral data
         */
        public DfsReferralData getData() {
            return this.data;
        }
    
        @Override
        public String toString() {
            return this.data.toString();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top