Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 3,776 for nope (0.02 sec)

  1. docs_src/response_model/tutorial003_05_py310.py

    from fastapi import FastAPI, Response
    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/portal", response_model=None)
    async def get_portal(teleport: bool = False) -> Response | dict:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 373 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_updates/test_tutorial001.py

            "name": "Baz",
            "description": None,
            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    def test_put(client: TestClient):
        response = client.put(
            "/items/bar", json={"name": "Barz", "price": 3, "description": None}
        )
        assert response.json() == {
            "name": "Barz",
            "description": None,
            "price": 3,
            "tax": 10.5,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_updates/test_tutorial001_py310.py

            "name": "Baz",
            "description": None,
            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    @needs_py310
    def test_put(client: TestClient):
        response = client.put(
            "/items/bar", json={"name": "Barz", "price": 3, "description": None}
        )
        assert response.json() == {
            "name": "Barz",
            "description": None,
            "price": 3,
            "tax": 10.5,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. docs/nl/docs/index.md

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. docs/minio-limits.md

    | Maximum number of buckets                                                       | unlimited (we recommend not beyond 500000 buckets) - see NOTE:                  |
    | Maximum number of objects per bucket                                            | no-limit                                                                        |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

     * </ul>
     *
     */
    @CacheableTask
    abstract class UserGuideTransformTask extends DefaultTask {
    
        @PathSensitive(PathSensitivity.NONE)
        @InputFile
        abstract RegularFileProperty getSourceFile();
    
        @PathSensitive(PathSensitivity.NONE)
        @InputFile
        abstract RegularFileProperty getLinksFile();
    
        @OutputFile
        abstract RegularFileProperty getDestFile();
    
        @Input
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook.model
    
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import org.w3c.dom.Document
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class ClassDoc implements DslElementDoc {
        private final String className
        private final String id
        private final String simpleName
        final ClassMetaData classMetaData
        private final Element classSection
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/api.go

    	ClusterID             string            `json:"clusterId"`
    	TrustDomain           string            `json:"trustDomain,omitempty"`
    	Locality              Locality          `json:"locality,omitempty"`
    	Node                  string            `json:"node"`
    	Network               string            `json:"network,omitempty"`
    	Status                string            `json:"status"`
    	Hostname              string            `json:"hostname"`
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 30 17:26:39 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/PairedStats.java

      }
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This hash code is consistent with exact equality of the calculated statistics,
       * including the floating point values. See the note on {@link #equals} for details.
       */
      @Override
      public int hashCode() {
        return Objects.hashCode(xStats, yStats, sumOfProductsOfDeltas);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    participant handler as Exceptionhandler
    participant dep as Abhängigkeit mit yield
    participant operation as Pfadoperation
    participant tasks as Hintergrundtasks
    
        Note over client,operation: Kann Exceptions auslösen, inklusive HTTPException
        client ->> dep: Startet den Request
        Note over dep: Führt den Code bis zum yield aus
        opt Löst Exception aus
            dep -->> handler: Löst Exception aus
            handler -->> client: HTTP-Error-Response
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top