Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 834 for ITEM (0.02 sec)

  1. docs_src/app_testing/app_b/test_main.py

    
    def test_read_nonexistent_item():
        response = client.get("/items/baz", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 404
        assert response.json() == {"detail": "Item not found"}
    
    
    def test_create_item():
        response = client.post(
            "/items/",
            headers={"X-Token": "coneofsilence"},
            json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. docs_src/app_testing/app_b_an_py39/test_main.py

    
    def test_read_nonexistent_item():
        response = client.get("/items/baz", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 404
        assert response.json() == {"detail": "Item not found"}
    
    
    def test_create_item():
        response = client.post(
            "/items/",
            headers={"X-Token": "coneofsilence"},
            json={"id": "foobar", "title": "Foo Bar", "description": "The Foo Barters"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. docs_src/python_types/tutorial006_py39.py

    def process_items(items: list[str]):
        for item in items:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 80 bytes
    - Viewed (0)
  4. internal/store/batch.go

    	Log           logger
    }
    
    // Add adds the item to the batch
    func (b *Batch[I]) Add(item I) error {
    	b.Lock()
    	defer b.Unlock()
    
    	if b.isFull() {
    		if b.store == nil {
    			return ErrBatchFull
    		}
    		// commit batch to store
    		if err := b.commit(); err != nil {
    			return err
    		}
    	}
    
    	b.items = append(b.items, item)
    	return nil
    }
    
    // Len returns the no of items in the batch
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/dict/protwords/admin_dict_protwords_download.jsp

                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><la:link href="/admin/dict">
                                    <la:message key="labels.dict_list_link"/>
                                </la:link></li>
                                <li class="breadcrumb-item"><la:link href="../list/1/?dictId=${f:u(dictId)}">
                                    <la:message key="labels.dict_protwords_list_link"/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 5.9K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/dict/stopwords/admin_dict_stopwords_download.jsp

                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><la:link href="/admin/dict">
                                    <la:message key="labels.dict_list_link"/>
                                </la:link></li>
                                <li class="breadcrumb-item"><la:link href="../list/1/?dictId=${f:u(dictId)}">
                                    <la:message key="labels.dict_stopwords_list_link"/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 5.9K bytes
    - Viewed (0)
  7. docs_src/python_types/tutorial006.py

    from typing import List
    
    
    def process_items(items: List[str]):
        for item in items:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 106 bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py

                "X-Token": "fake-super-secret-token",
                "X-Key": "fake-super-secret-key",
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == [{"item": "Foo"}, {"item": "Bar"}]
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_params/test_tutorial005.py

                            },
                        },
                        "summary": "Read User Item",
                        "operationId": "read_user_item_items__item_id__get",
                        "parameters": [
                            {
                                "required": True,
                                "schema": {"title": "Item Id", "type": "string"},
                                "name": "item_id",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/fileauth/admin_fileauth_edit.jsp

                                                       styleClass="form-control">
                                                <c:forEach var="item" items="${protocolSchemeItems}">
                                                    <la:option value="${f:u(item.value)}">${f:h(item.label)}</la:option>
                                                </c:forEach>
                                            </la:select>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 7.9K bytes
    - Viewed (0)
Back to top