Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 1,306 for Feed (0.02 seconds)

  1. docs/en/docs/advanced/response-change-status-code.md

    # Response - Change Status Code { #response-change-status-code }
    
    You probably read before that you can set a default [Response Status Code](../tutorial/response-status-code.md).
    
    But in some cases you need to return a different status code than the default.
    
    ## Use case { #use-case }
    
    For example, imagine that you want to return an HTTP status code of "OK" `200` by default.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/ElasticsearchTestBasePluginFuncTest.groovy

                }
            """
    
            when:
            def result = gradleRunner("test", '-Dtests.seed=default', '-Pfoo=bar').build()
    
            then:
            result.task(':test').outcome == TaskOutcome.SUCCESS
    
            when:
            result = gradleRunner("test", '-i', '-Dtests.seed=default', '-Pfoo=baz').build()
    
            then:
            result.task(':test').outcome == TaskOutcome.UP_TO_DATE
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/events.md

    This can be very useful for setting up **resources** that you need to use for the whole app, and that are **shared** among requests, and/or that you need to **clean up** afterwards. For example, a database connection pool, or loading a shared machine learning model.
    
    ## Use Case { #use-case }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

      }
    
      public void testParanoidHashBytes() {
        HashFn hf =
            new HashFn() {
              @Override
              public byte[] hash(byte[] input, int seed) {
                return murmur3_32(seed).hashBytes(input).asBytes();
              }
            };
        // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32)
        // https://github.com/aappleby/smhasher/blob/master/src/main.cpp
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  5. android/pom.xml

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <!--
        Some tests need reflective access to the internals of these packages. It is only the
        tests themselves and not the code being tested that needs that access, though there's no
        obvious way to ensure that.
    
        We could consider arranging things so that only the tests we know need this would get
        the add-opens. Right now that doesn't seem worth the effort, though.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 17 19:12:41 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  6. docs/en/docs/reference/security/index.md

    # Security Tools
    
    When you need to declare dependencies with OAuth2 scopes you use `Security()`.
    
    But you still need to define what is the dependable, the callable that you pass as a parameter to `Depends()` or `Security()`.
    
    There are multiple tools that you can use to create those dependables, and they get integrated into OpenAPI so they are shown in the automatic docs UI, they can be used by automatically generated clients and SDKs, etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 12:41:54 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    a <dfn title="A utility/system to store computed/generated values, to reuse them instead of computing them again.">"cache"</dfn> and pass it to all the "dependants" that need it in that specific request, instead of calling the dependency multiple times for the same request.
    
    In an advanced scenario where you know you need the dependency to be called at every step (possibly multiple times) in the same request instead of using the "cached" value, you can set the parameter `use_cache=False` when...
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial002_py310.py hl[7] *}
    
    As in this case (without using `Annotated`) we have to replace the default value `None` in the function with `Query()`, we now need to set the default value with the parameter `Query(default=None)`, it serves the same purpose of defining that default value (at least for FastAPI).
    
    So:
    
    ```Python
    q: str | None = Query(default=None)
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  9. docs/en/docs/virtual-environments.md

    Do you want to understand what's all that above?
    
    Continue reading. 👇🤓
    
    ///
    
    ## Why Virtual Environments { #why-virtual-environments }
    
    To work with FastAPI you need to install [Python](https://www.python.org/).
    
    After that, you would need to **install** FastAPI and any other **packages** you want to use.
    
    To install packages you would normally use the `pip` command that comes with Python (or similar alternatives).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 22.1K bytes
    - Click Count (0)
  10. docs/en/docs/features.md

    ### Short { #short }
    
    It has sensible **defaults** for everything, with optional configurations everywhere. All the parameters can be fine-tuned to do what you need and to define the API you need.
    
    But by default, it all **"just works"**.
    
    ### Validation { #validation }
    
    * Validation for most (or all?) Python **data types**, including:
        * JSON objects (`dict`).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top