Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 801 for hero (0.01 seconds)

  1. docs_src/body_fields/tutorial001_an_py39.py

        name: str
        description: Union[str, None] = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
        results = {"item_id": item_id, "item": item}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 582 bytes
    - Click Count (0)
  2. tests/soft_delete_test.go

    	}
    
    	if err := DB.Delete(&user).Error; err != nil {
    		t.Fatalf("No error should happen when soft delete user, but got %v", err)
    	}
    
    	if sql.NullTime(user.DeletedAt).Time.IsZero() {
    		t.Fatalf("user's deleted at is zero")
    	}
    
    	sql := DB.Session(&gorm.Session{DryRun: true}).Delete(&user).Statement.SQL.String()
    	if !regexp.MustCompile(`UPDATE .users. SET .deleted_at.=.* WHERE .users.\..id. = .* AND .users.\..deleted_at. IS NULL`).MatchString(sql) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Feb 01 06:40:55 GMT 2023
    - 5.7K bytes
    - Click Count (0)
  3. docs/es/docs/deployment/versions.md

    # Sobre las versiones de FastAPI { #about-fastapi-versions }
    
    **FastAPI** ya se está utilizando en producción en muchas aplicaciones y sistemas. Y la cobertura de tests se mantiene al 100%. Pero su desarrollo sigue avanzando rápidamente.
    
    Se añaden nuevas funcionalidades con frecuencia, se corrigen bugs regularmente, y el código sigue mejorando continuamente.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. docs/en/docs/how-to/index.md

    # How To - Recipes { #how-to-recipes }
    
    Here you will see different recipes or "how to" guides for **several topics**.
    
    Most of these ideas would be more or less **independent**, and in most cases you should only need to study them if they apply directly to **your project**.
    
    If something seems interesting and useful to your project, go ahead and check it, but otherwise, you might probably just skip them.
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 612 bytes
    - Click Count (0)
  5. docs/es/docs/advanced/security/index.md

    Las siguientes secciones asumen que ya leíste el [Tutorial - Guía del Usuario: Seguridad](../../tutorial/security/index.md){.internal-link target=_blank} principal.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 786 bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/schema-extra-example.md

    OpenAPI 3.1.0 (usado desde FastAPI 0.99.0) añadió soporte para `examples`, que es parte del estándar de **JSON Schema**.
    
    Antes de eso, solo soportaba la palabra clave `example` con un solo ejemplo. Eso aún es soportado por OpenAPI 3.1.0, pero está obsoleto y no es parte del estándar de JSON Schema. Así que se recomienda migrar de `example` a `examples`. 🤓
    
    Puedes leer más al final de esta página.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. internal/grid/types.go

    		pool: sync.Pool{
    			New: func() any {
    				var t T
    				return &t
    			},
    		},
    		emptySz: sz,
    	}
    }
    
    func (p *JSONPool[T]) new() *T {
    	var zero T
    	if t, ok := p.pool.Get().(*T); ok {
    		*t = zero
    		return t
    	}
    	return &zero
    }
    
    // JSON is a wrapper around a T object that can be serialized.
    // There is an internal value
    type JSON[T any] struct {
    	p   *JSONPool[T]
    	val *T
    }
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/path-params.md

    ///
    
    ## Validación de datos { #data-validation }
    
    Pero si vas al navegador en <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, verás un bonito error HTTP de:
    
    ```JSON
    {
      "detail": [
        {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  9. docs/es/docs/how-to/index.md

    La mayoría de estas ideas serían más o menos **independientes**, y en la mayoría de los casos solo deberías estudiarlas si aplican directamente a **tu proyecto**.
    
    Si algo parece interesante y útil para tu proyecto, adelante y revísalo, pero de lo contrario, probablemente puedas simplemente omitirlas.
    
    /// tip | Consejo
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 667 bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py39.py hl[3] *}
    
    Here the `app` variable will be an "instance" of the class `FastAPI`.
    
    This will be the main point of interaction to create all your API.
    
    ### Step 3: create a *path operation* { #step-3-create-a-path-operation }
    
    #### Path { #path }
    
    "Path" here refers to the last part of the URL starting from the first `/`.
    
    So, in a URL like:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.8K bytes
    - Click Count (0)
Back to Top