Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 814 for thrice (0.1 seconds)

  1. docs_src/response_model/tutorial001_py310.py

        description: str | None = None
        price: float
        tax: float | None = None
        tags: list[str] = []
    
    
    @app.post("/items/", response_model=Item)
    async def create_item(item: Item) -> Any:
        return item
    
    
    @app.get("/items/", response_model=list[Item])
    async def read_items() -> Any:
        return [
            {"name": "Portal Gun", "price": 42.0},
            {"name": "Plumbus", "price": 32.0},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 07 13:45:48 GMT 2023
    - 537 bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

                this.session = session;
                return this;
            }
    
            public DependencyCoordinatesFactoryRequestBuilder trace(RequestTrace trace) {
                this.trace = trace;
                return this;
            }
    
            public DependencyCoordinatesFactoryRequestBuilder groupId(String groupId) {
                this.groupId = groupId;
                return this;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. docs_src/generate_clients/tutorial002_py310.py

    @app.get("/items/", response_model=list[Item], tags=["items"])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
        ]
    
    
    @app.post("/users/", response_model=ResponseMessage, tags=["users"])
    async def create_user(user: User):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 730 bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            this.macSigningKey = macSigningKey;
            this.signSequence = initialSequence;
            this.bypass = bypass;
    
            if (log.isTraceEnabled()) {
                log.trace("macSigningKey:");
                log.trace(Hexdump.toHexString(macSigningKey, 0, macSigningKey.length));
            }
        }
    
        /**
         * This constructor used to instance a SigningDigest object for
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            // Test protected constructor with writable stack trace
            String message = "Test with writable stack trace";
            TestFessSystemException exception = new TestFessSystemException(message, true, true);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
    
            // Stack trace should be populated
            assertTrue(exception.getStackTrace().length > 0);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        original.add("one");
        original.add("two");
        original.add("three");
    
        EvictingQueue<String> copy = SerializableTester.reserialize(original);
        assertEquals(copy.maxSize, original.maxSize);
        assertThat(copy.remove()).isEqualTo("one");
        assertThat(copy.remove()).isEqualTo("two");
        assertThat(copy.remove()).isEqualTo("three");
        assertTrue(copy.isEmpty());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  7. fastapi/.agents/skills/fastapi/references/streaming.md

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    @app.get("/items/stream", response_class=EventSourceResponse)
    async def stream_items() -> AsyncIterable[Item]:
        yield Item(name="Plumbus", price=32.99)
        yield Item(name="Portal Gun", price=999.99)
    ```
    
    For full control over SSE fields (`event`, `id`, `retry`, `comment`), yield `ServerSentEvent` instances:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/body-multiple-params.md

    ```JSON hl_lines="2"
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        }
    }
    ```
    
    ao invés de:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    ## Recapitulando { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  9. docs_src/generate_clients/tutorial003_py310.py

        return {"message": "Item received"}
    
    
    @app.get("/items/", response_model=list[Item], tags=["items"])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
        ]
    
    
    @app.post("/users/", response_model=ResponseMessage, tags=["users"])
    async def create_user(user: User):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 914 bytes
    - Click Count (0)
  10. tests/test_request_body_parameters_media_type.py

                            "title": "Product",
                            "required": ["name", "price"],
                            "type": "object",
                            "properties": {
                                "name": {"title": "Name", "type": "string"},
                                "price": {"title": "Price", "type": "number"},
                            },
                        },
                        "Shop": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
Back to Top