Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for status_code (1 sec)

  1. docs/en/docs/release-notes.md

        try:
            yield "Rick"
        except OwnerError as e:
            raise HTTPException(status_code=400, detail=f"Owner error: {e}")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id not in data:
            raise HTTPException(status_code=404, detail="Item not found")
        item = data[item_id]
        if item["owner"] != username:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
  2. RELEASE.md

            `dtensor.shutdown_tpu_system`.
    
    ## Deprecations
    
    *   The C++ `tensorflow::Code` and `tensorflow::Status` will become aliases of
        respectively `absl::StatusCode` and `absl::Status` in some future release.
        *   Use `tensorflow::OkStatus()` instead of `tensorflow::Status::OK()`.
        *   Stop constructing `Status` objects from `tensorflow::error::Code`.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
Back to top