Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 1,487 for exemplo (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py

    from docs_src.behind_a_proxy.tutorial001_01_py310 import app
    
    client = TestClient(
        app,
        base_url="https://example.com",
        follow_redirects=False,
    )
    
    
    def test_redirect() -> None:
        response = client.get("/items")
        assert response.status_code == 307
        assert response.headers["location"] == "https://example.com/items/"
    
    
    def test_no_redirect() -> None:
        response = client.get("/items/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 545 bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/body-multiple-params.md

    /// note
    
    Notice that, in this case, the `item` that would be taken from the body is optional. As it has a `None` default value.
    
    ///
    
    ## Multiple body parameters { #multiple-body-parameters }
    
    In the previous example, the *path operations* would expect a JSON body with the attributes of an `Item`, like:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. architecture/README.md

    that can send requests to a Gradle daemon.
    Each daemon runs one request at a time. Generally speaking, the daemons only act in response to a request from a client and do not take any action on their own.
    There are some background actions that the daemon takes, for example monitoring system memory, watching for file changes or cleaning up caches.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 12 09:50:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestResourcesPlugin.java

     * if there are any Rest YAML tests present in source, or copied from {@link CopyRestTestsTask} output. X-pack specs must be explicitly
     * declared to be copied.
     * <br>
     * <i>For example:</i>
     * <pre>
     * restResources {
     *   restApi {
     *     includeXpack 'enrich'
     *   }
     * }
     * </pre>
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 23 09:36:58 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/app_a_py310/test_main.py hl[3] *}
    
    
    ...and have the code for the tests just like before.
    
    ## Testing: extended example { #testing-extended-example }
    
    Now let's extend this example and add more details to see how to test different parts.
    
    ### Extended **FastAPI** app file { #extended-fastapi-app-file }
    
    Let's continue with the same file structure as before:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  6. docs_src/schema_extra_example/tutorial005_py310.py

    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item = Body(
            openapi_examples={
                "normal": {
                    "summary": "A normal example",
                    "description": "A **normal** item works correctly.",
                    "value": {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Aug 26 18:03:13 GMT 2023
    - 1.3K bytes
    - Click Count (0)
  7. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    #### Non-calculated values
    
    These are inappropriate uses of lazy types:
    
    ```groovy
    class Example {
        Property<String> getSomeProperty()
    
        Example() {
            getSomeProperty().set("value")
            getSomeProperty().disallowChanges()
        }
    }
    
    class Example2 {
        Provider<String> getSomeProperty() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. docs/bigdata/README.md

    ### **4.1 Spark Pi**
    
    Test the Spark installation by running the following compute intensive example, which calculates pi by “throwing darts” at a circle. The program generates points in the unit square ((0,0) to (1,1)) and counts how many points fall within the unit circle within the square. The result approximates pi.
    
    Follow these steps to run the Spark Pi example:
    
    - Login as user **‘spark’**.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  9. dbflute.xml

    	<property name="target.dir" value="${basedir}/target" />
    	<property name="branch.name" value="fess-15.5" />
    	<property name="mydbflute.url" value="https://github.com/lastaflute/lastaflute-example-waterfront/archive/${branch.name}.zip" />
    
    	<target name="mydbflute.check">
    		<condition property="mydbflute.exists">
    			<available file="${mydbflute.dir}" type="dir" />
    		</condition>
    	</target>
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Feb 12 06:33:24 GMT 2026
    - 999 bytes
    - Click Count (0)
  10. cmd/testdata/config/invalid-disks.yaml

    certs-dir: '/home/user/.minio/certs/'
    pools: # Specify the nodes and drives with pools
      -
            - 'https://server-example-pool1:9000/mnt/disk1/'
            - 'https://server1-pool1:9000/mnt/disk{1...4}/'
            - 'https://server3-pool1:9000/mnt/disk{1...4}/'
            - 'https://server4-pool1:9000/mnt/disk{1...4}/'
      -
            - 'https://server-example-pool2:9000/mnt/disk{1...4}/'
            - 'https://server1-pool2:9000/mnt/disk{1...4}/'
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 863 bytes
    - Click Count (0)
Back to Top