Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 2,181 for Avery (0.05 sec)

  1. tests/test_tutorial/test_query_params/test_tutorial006.py

        c = TestClient(app)
        return c
    
    
    def test_foo_needy_very(client: TestClient):
        response = client.get("/items/foo?needy=very")
        assert response.status_code == 200
        assert response.json() == {
            "item_id": "foo",
            "needy": "very",
            "skip": 0,
            "limit": None,
        }
    
    
    def test_foo_no_needy(client: TestClient):
        response = client.get("/items/foo?skip=a&limit=b")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. docs_src/schema_extra_example/tutorial003.py

    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int,
        item: Item = Body(
            examples=[
                {
                    "name": "Foo",
                    "description": "A very nice Item",
                    "price": 35.4,
                    "tax": 3.2,
                }
            ],
        ),
    ):
        results = {"item_id": item_id, "item": item}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 612 bytes
    - Viewed (0)
  3. build-logic/performance-testing/src/test/kotlin/gradlebuild/performance/tasks/DetermineBaselinesTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.performance.tasks
    
    import gradlebuild.basics.BuildEnvironmentExtension
    import gradlebuild.basics.kotlindsl.execAndGetStdout
    import io.mockk.every
    import io.mockk.mockkStatic
    import io.mockk.unmockkStatic
    import org.gradle.internal.os.OperatingSystem
    // Using star import to workaround https://youtrack.jetbrains.com/issue/KTIJ-24390
    import org.gradle.kotlin.dsl.*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 09:29:24 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flushwriter/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package flushwriter implements a wrapper for a writer that flushes on every
    // write if that writer implements the io.Flusher interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 16:14:27 UTC 2017
    - 780 bytes
    - Viewed (0)
  5. cluster/log-dump/README.md

    If you require changes to this script, please consider migrating your jobs to use the new
    log dumping mechanism first.
    
    Currently, `log-dump.sh` file is added to every newly released `kubekins-e2e` image.
    In order to leverage that script, add `USE_TEST_INFRA_LOG_DUMPING` environment variable
    to your test job and set its value to `true`.
    
    ## Migration steps
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 15 08:58:09 UTC 2020
    - 1009 bytes
    - Viewed (0)
  6. docs_src/schema_extra_example/tutorial001.py

        tax: Union[float, None] = None
    
        model_config = {
            "json_schema_extra": {
                "examples": [
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
            }
        }
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 684 bytes
    - Viewed (0)
  7. src/internal/abi/iface.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package abi
    
    import "unsafe"
    
    // The first word of every non-empty interface type contains an *ITab.
    // It records the underlying concrete type (Type), the interface type it
    // is implementing (Inter), and some ancillary information.
    //
    // allocated in non-garbage-collected memory
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 895 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py

        return client
    
    
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    def test_openapi_schema(client: TestClient) -> None:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_schema_extra_example/test_tutorial005_py310.py

        return client
    
    
    @needs_py310
    def test_post_body_example(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    @needs_py310
    def test_openapi_schema(client: TestClient) -> None:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/index.md

    That's what all the systems with "login with Facebook, Google, Twitter, GitHub" use underneath.
    
    ### OAuth 1
    
    There was an OAuth 1, which is very different from OAuth2, and more complex, as it included direct specifications on how to encrypt the communication.
    
    It is not very popular or used nowadays.
    
    OAuth2 doesn't specify how to encrypt the communication, it expects you to have your application served with HTTPS.
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 24 14:47:15 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top