Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 811 - 820 of 984 for Model1 (0.05 seconds)

  1. docs/es/docs/tutorial/response-status-code.md

    # Código de Estado del Response { #response-status-code }
    
    De la misma manera que puedes especificar un modelo de response, también puedes declarar el código de estado HTTP usado para el response con el parámetro `status_code` en cualquiera de las *path operations*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *}
    
    /// note | Nota
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/stream-json-lines.md

    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[24] *}
    
    Si cada ítem JSON que quieres enviar de vuelta es de tipo `Item` (un modelo de Pydantic) y es una función async, puedes declarar el tipo de retorno como `AsyncIterable[Item]`:
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[1:24] hl[9:11,22] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/server-sent-events.md

    Import `ServerSentEvent` from `fastapi.sse`:
    
    {* ../../docs_src/server_sent_events/tutorial002_py310.py hl[4,26] *}
    
    The `data` field is always encoded as JSON. You can pass any value that can be serialized as JSON, including Pydantic models.
    
    ## Raw Data { #raw-data }
    
    If you need to send data **without** JSON encoding, use `raw_data` instead of `data`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  4. docs/tr/docs/advanced/stream-data.md

    /// info | Bilgi
    
    FastAPI 0.134.0 ile eklendi.
    
    ///
    
    ## Kullanım Senaryoları { #use-cases }
    
    Doğrudan bir AI LLM (Büyük Dil Modeli) servisinin çıktısından saf string'leri akıtmak istediğinizde kullanabilirsiniz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  5. compat/maven-plugin-api/pom.xml

        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-xml</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-model</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-artifact</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

    import java.io.InputStream;
    import java.io.Reader;
    import java.nio.file.Files;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.api.toolchain.InputSource;
    import org.apache.maven.toolchain.model.PersistedToolchains;
    import org.apache.maven.toolchain.v4.MavenToolchainsStaxReader;
    
    /**
     * Handles deserialization of toolchains from the default textual format.
     *
     * @since 3.3.0
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. docs/tr/docs/advanced/dataclasses.md

    Ancak elinizde zaten bir sürü dataclass varsa, bunları FastAPI ile bir web API'yi beslemek için kullanmak güzel bir numaradır. 🤓
    
    ///
    
    ## `response_model` İçinde Dataclass'lar { #dataclasses-in-response-model }
    
    `response_model` parametresinde `dataclasses` da kullanabilirsiniz:
    
    {* ../../docs_src/dataclasses_/tutorial002_py310.py hl[1,6:12,18] *}
    
    Dataclass otomatik olarak bir Pydantic dataclass'ına dönüştürülür.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  8. tests/gorm_test.go

    		// these dialects do not support the "returning" clause
    		return
    	default:
    		// This user struct will leverage the existing users table, but override
    		// the Name field to default to null.
    		type user struct {
    			gorm.Model
    			Name string `gorm:"default:null"`
    		}
    		u1 := user{}
    
    		if results := DB.Create(&u1); results.Error != nil {
    			t.Fatalf("errors happened on create: %v", results.Error)
    		} else if results.RowsAffected != 1 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.execution;
    
    import org.apache.maven.settings.Settings;
    import org.apache.maven.toolchain.model.PersistedToolchains;
    
    /**
     * Assists in populating an execution request for invocation of Maven.
     *
     */
    public interface MavenExecutionRequestPopulator {
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  10. docs/fr/docs/python-types.md

    Remarquez que cela signifie « `one_person` est une **instance** de la classe `Person` ».
    
    Cela ne signifie pas « `one_person` est la **classe** appelée `Person` ».
    
    ## Modèles Pydantic { #pydantic-models }
    
    [Pydantic](https://docs.pydantic.dev/) est une bibliothèque Python pour effectuer de la validation de données.
    
    Vous déclarez la « forme » de la donnée sous forme de classes avec des attributs.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.7K bytes
    - Click Count (0)
Back to Top