Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for example1 (0.22 sec)

  1. docs/en/docs/advanced/security/oauth2-scopes.md

    Each "scope" is just a string (without spaces).
    
    They are normally used to declare specific security permissions, for example:
    
    * `users:read` or `users:write` are common examples.
    * `instagram_basic` is used by Facebook / Instagram.
    * `https://www.googleapis.com/auth/drive` is used by Google.
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    * Add docs for [Schema Extra - Example](https://fastapi.tiangolo.com/tutorial/schema-extra-example/). PR [#1185](https://github.com/tiangolo/fastapi/pull/1185).
    
    ## 0.53.1
    
    * Fix included example after translations refactor. PR [#1182](https://github.com/tiangolo/fastapi/pull/1182).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  3. src/bufio/example_test.go

    }
    
    // ExampleWriter_ReadFrom demonstrates how to use the ReadFrom method of Writer.
    func ExampleWriter_ReadFrom() {
    	var buf bytes.Buffer
    	writer := bufio.NewWriter(&buf)
    
    	data := "Hello, world!\nThis is a ReadFrom example."
    	reader := strings.NewReader(data)
    
    	n, err := writer.ReadFrom(reader)
    	if err != nil {
    		fmt.Println("ReadFrom Error:", err)
    		return
    	}
    
    	if err = writer.Flush(); err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * Returns a stream in which each element is the result of passing the corresponding element of
       * each of {@code streamA} and {@code streamB} to {@code function}.
       *
       * <p>For example:
       *
       * <pre>{@code
       * Streams.zip(
       *   Stream.of("foo1", "foo2", "foo3"),
       *   Stream.of("bar1", "bar2"),
       *   (arg1, arg2) -> arg1 + ":" + arg2)
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

     *   <li>{@link #isOrdered} / {@link #isStrictlyOrdered}
     *   <li>{@link #min} / {@link #max}
     * </ul>
     *
     * <h3>Understanding complex orderings</h3>
     *
     * <p>Complex chained orderings like the following example can be challenging to understand.
     *
     * <pre>{@code
     * Ordering<Foo> ordering =
     *     Ordering.natural()
     *         .nullsFirst()
     *         .onResultOf(getBarFunction)
     *         .nullsLast();
     * }</pre>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/grafana/README.md

    ![Grafana](https://raw.githubusercontent.com/minio/minio/master/docs/metrics/prometheus/grafana/node/grafana-node.png)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 17:38:53 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. README.md

    ```console
    $ pip install "fastapi[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    **Note**: Make sure you put `"fastapi[standard]"` in quotes to ensure it works in all terminals.
    
    ## Example
    
    ### Create it
    
    * Create a file `main.py` with:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Ordering.java

     *   <li>{@link #isOrdered} / {@link #isStrictlyOrdered}
     *   <li>{@link #min} / {@link #max}
     * </ul>
     *
     * <h3>Understanding complex orderings</h3>
     *
     * <p>Complex chained orderings like the following example can be challenging to understand.
     *
     * <pre>{@code
     * Ordering<Foo> ordering =
     *     Ordering.natural()
     *         .nullsFirst()
     *         .onResultOf(getBarFunction)
     *         .nullsLast();
     * }</pre>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/middleware.md

    {* ../../docs_src/advanced_middleware/tutorial002.py hl[2,6:8] *}
    
    Os seguintes argumentos são suportados:
    
    * `allowed_hosts` - Uma lista de nomes de domínio que são permitidos como nomes de host. Domínios com coringa, como `*.example.com`, são suportados para corresponder a subdomínios. Para permitir qualquer nome de host, use `allowed_hosts=["*"]` ou omita o middleware.
    
    Se uma requisição recebida não for validada corretamente, uma resposta `400` será enviada.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 20:00:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Lists.java

       * Returns every possible list that can be formed by choosing one element from each of the given
       * lists in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian
       * product</a>" of the lists. For example:
       *
       * <pre>{@code
       * Lists.cartesianProduct(ImmutableList.of(
       *     ImmutableList.of(1, 2),
       *     ImmutableList.of("A", "B", "C")))
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top