Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_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)
  2. 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)
  3. 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)
  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. src/debug/gosym/pclntab.go

    			s := t.stringFrom(t.filetab, pos)
    			m[s] = pos
    			pos += uint32(len(s) + 1)
    		}
    	}
    	t.fileMap = m
    }
    
    // go12MapFiles adds to m a key for every file in the Go 1.2 LineTable.
    // Every key maps to obj. That's not a very interesting map, but it provides
    // a way for callers to obtain the list of files in the program.
    func (t *LineTable) go12MapFiles(m map[string]*Obj, obj *Obj) {
    	if !disableRecover {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K 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. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top