Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 2,251 for myitem (0.05 seconds)

  1. tests/test_invalid_sequence_param.py

                pass  # pragma: no cover
    
    
    def test_invalid_dict():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: dict[str, Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    def test_invalid_simple_dict():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_body_nested_models/test_tutorial004.py

                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
                "tags": ["foo", "bar", "foo"],
                "image": {"url": "http://example.com/image.png", "name": "example image"},
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "item_id": 123,
            "item": {
                "name": "Foo",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

            if (authenticator != null && fessConfig.getSystemPropertyAsBoolean(SPNEGO_INITIALIZED, false)) {
                return authenticator;
            }
            try {
                // set some System properties
                final SpnegoFilterConfig config = SpnegoFilterConfig.getInstance(new SpnegoConfig());
    
                // pre-authenticate
                authenticator = new org.codelibs.spnego.SpnegoAuthenticator(config);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 17.8K bytes
    - Click Count (3)
  4. tests/test_union_inherited_body.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Optional[str] = None
    
    
    class ExtendedItem(Item):
        age: int
    
    
    @app.post("/items/")
    def save_union_different_body(item: Union[ExtendedItem, Item]):
        return {"item": item}
    
    
    client = TestClient(app)
    
    
    def test_post_extended_item():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/main/java/org/apache/maven/lifecycle/test/App.java

    package org.apache.maven.lifecycle.test;
    
    /**
     * Hello world!
     *
     */
    public class App
    {
        public static void main( String[] args )
        {
            System.out.println( "Hello World!" );
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 193 bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                    data[SIGNATURE_OFFSET + i] = 0;
                }
    
                mac.update(data, 0, data.length);
                byte[] signature = mac.doFinal();
    
                // Place signature in data
                System.arraycopy(signature, 0, data, SIGNATURE_OFFSET, SIGNATURE_LENGTH);
    
                boolean result = digest.verify(data, 0, data.length, 0, msg);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  7. docs_src/additional_status_codes/tutorial001_an_py39.py

        size: Annotated[Union[int, None], Body()] = None,
    ):
        if item_id in items:
            item = items[item_id]
            item["name"] = name
            item["size"] = size
            return item
        else:
            item = {"name": name, "size": size}
            items[item_id] = item
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 705 bytes
    - Click Count (0)
  8. internal/store/queuestore.go

    	}
    
    	buf.Reset()
    	if err != nil {
    		return err
    	}
    
    	// Increment the item count.
    	store.entries[key.String()] = time.Now().UnixNano()
    
    	return err
    }
    
    // write - writes an item to the directory.
    func (store *QueueStore[I]) write(key Key, item I) error {
    	// Marshals the item.
    	eventData, err := json.Marshal(item)
    	if err != nil {
    		return err
    	}
    	return store.writeBytes(key, eventData)
    }
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. src/main/resources/fess_message_hi.properties

    constraints.URL.message = {item} एक मान्य URL नहीं है।
    constraints.Required.message = {item} आवश्यक है।
    constraints.TypeInteger.message = {item} एक संख्या होनी चाहिए।
    constraints.TypeLong.message = {item} एक संख्या होनी चाहिए।
    constraints.TypeFloat.message = {item} एक संख्या होनी चाहिए।
    constraints.TypeDouble.message = {item} एक संख्या होनी चाहिए।
    constraints.TypeAny.message = {item} को {propertyType} में परिवर्तित नहीं किया जा सकता।
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 07 14:13:53 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  10. src/main/resources/fess_message_id.properties

    constraints.URL.message = {item} bukan URL yang valid.
    constraints.Required.message = {item} wajib diisi.
    constraints.TypeInteger.message = {item} harus berupa angka.
    constraints.TypeLong.message = {item} harus berupa angka.
    constraints.TypeFloat.message = {item} harus berupa angka.
    constraints.TypeDouble.message = {item} harus berupa angka.
    constraints.TypeAny.message = {item} tidak dapat dikonversi ke {propertyType}.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 07 14:12:58 GMT 2025
    - 11.8K bytes
    - Click Count (0)
Back to Top