Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for tips (0.13 sec)

  1. docs/pt/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    !!! tip "Dica"
        Quando você lançar um `HTTPException`, você pode passar qualquer valor convertível em JSON como parâmetro de `detail`, e não apenas `str`.
    
        Você pode passar um `dict` ou um `list`, etc.
        Esses tipos de dados são manipulados automaticamente pelo **FastAPI** e convertidos em JSON.
    
    
    ## Adicione headers customizados
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. docs/es/docs/async.md

    ## ¿Tienes prisa?
    
    <abbr title="too long; didn't read"><strong>TL;DR:</strong></abbr>
    
    Si estás utilizando libraries de terceros que te dicen que las llames con `await`, del tipo:
    
    ```Python
    results = await some_library()
    ```
    
    Entonces declara tus *path operation functions* con `async def` de la siguiente manera:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  3. api/go1.17.txt

    pkg database/sql, type NullInt16 struct
    pkg database/sql, type NullInt16 struct, Int16 int16
    pkg database/sql, type NullInt16 struct, Valid bool
    pkg debug/elf, const SHT_MIPS_ABIFLAGS = 1879048234
    pkg debug/elf, const SHT_MIPS_ABIFLAGS SectionType
    pkg encoding/csv, method (*Reader) FieldPos(int) (int, int)
    pkg go/build, type Context struct, ToolTags []string
    pkg go/parser, const SkipObjectResolution = 64
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 18K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    				reg, success := ppc64.ConstantToCRbit(c)
    				if !success {
    					p.errorf("invalid CR bit register number %d", c)
    				}
    				prog.Reg = reg
    			}
    			break
    		}
    		if p.arch.Family == sys.MIPS || p.arch.Family == sys.MIPS64 || p.arch.Family == sys.RISCV64 {
    			// 3-operand jumps.
    			// First two must be registers
    			target = &a[2]
    			prog.From = a[0]
    			prog.Reg = p.getRegister(prog, op, &a[1])
    			break
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  5. internal/etag/etag.go

    package etag
    
    import (
    	"bytes"
    	"crypto/hmac"
    	"crypto/md5"
    	"encoding/base64"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"net/http"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/fips"
    	"github.com/minio/minio/internal/hash/sha256"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/sio"
    )
    
    // ETag is a single S3 ETag.
    //
    // An S3 ETag sometimes corresponds to the MD5 of
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/first-steps.md

    #### "Schema" de datos
    
    El concepto "schema" también se puede referir a la forma de algunos datos, como un contenido en formato JSON.
    
    En ese caso haría referencia a los atributos del JSON, los tipos de datos que tiene, etc.
    
    #### OpenAPI y JSON Schema
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertTrue(result instanceof RandomAccess);
        assertListImmutable(result);
        assertEquals(ImmutableList.of(-1, 3, 4, 5), result);
      }
    
      public void testLeastOfIterable_ties() {
        Integer foo = new Integer(Integer.MAX_VALUE - 10);
        Integer bar = new Integer(Integer.MAX_VALUE - 10);
    
        assertNotSame(foo, bar);
        assertEquals(foo, bar);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertTrue(result instanceof RandomAccess);
        assertListImmutable(result);
        assertEquals(ImmutableList.of(-1, 3, 4, 5), result);
      }
    
      public void testLeastOfIterable_ties() {
        Integer foo = new Integer(Integer.MAX_VALUE - 10);
        Integer bar = new Integer(Integer.MAX_VALUE - 10);
    
        assertNotSame(foo, bar);
        assertEquals(foo, bar);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     *
     * <p>Operations on this class make no guarantees about the ordering of elements with equal
     * priority. If you need to enforce an ordering, you can define custom classes or comparators that
     * use a secondary key to break ties in primary priority values. For example, here is a class that
     * applies first-in-first-out tie-breaking to comparable elements. To use it, you would insert a
     * {@code new FIFOEntry(anEntry)} instead of a plain entry object.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  10. docs/es/docs/features.md

    Todo está basado en las declaraciones de tipo de **Python 3.8** estándar (gracias a Pydantic). No necesitas aprender una sintaxis nueva, solo Python moderno.
    
    Si necesitas un repaso de 2 minutos de cómo usar los tipos de Python (así no uses FastAPI) prueba el tutorial corto: [Python Types](python-types.md){.internal-link target=_blank}.
    
    Escribes Python estándar con tipos así:
    
    ```Python
    from datetime import date
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.9K bytes
    - Viewed (0)
Back to top