Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 413 for item_id (0.12 sec)

  1. fastapi/applications.py

                name: str
                description: str | None = None
    
            app = FastAPI()
    
            @app.put("/items/{item_id}")
            def replace_item(item_id: str, item: Item):
                return {"message": "Item replaced", "id": item_id}
            ```
            """
            return self.router.put(
                path,
                response_model=response_model,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  2. docs_src/python_types/tutorial005.py

    def get_items(item_a: str, item_b: int, item_c: float, item_d: bool, item_e: bytes):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 143 bytes
    - Viewed (0)
  3. docs/en/docs/release-notes.md

            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:
            raise OwnerError(username)
        return item
    ```
    
    ---
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

                final String item1Id = item1.getId();
                if (mergedIdSet.contains(item1Id)) {
                    continue;
                }
    
                SuggestItem mergedItem = item1;
                for (final SuggestItem item2 : items) {
                    if (item1.equals(item2)) {
                        continue;
                    }
    
                    final String item2Id = item2.getId();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. samples/slack/src/main/java/okhttp3/slack/OAuthSession.java

      public final String team_name;
      public final String team_id;
    
      public OAuthSession(
          boolean ok, String accessToken, String scope, String userId, String teamName, String teamId) {
        this.ok = ok;
        this.access_token = accessToken;
        this.scope = scope;
        this.user_id = userId;
        this.team_name = teamName;
        this.team_id = teamId;
      }
    
      @Override public String toString() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Oct 23 15:24:22 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

            expected_max_outputs, cancellation_manager, step_id);
      }
    }
    
    void ParallelDevice::StartExecute(
        TFE_Context* context,
        const std::vector<std::vector<TFE_TensorHandle*>>& inputs,
        const char* operation_name, const TFE_OpAttrs* attributes,
        int expected_max_outputs, CancellationManager& cancellation_manager,
        absl::optional<int64_t> step_id) const {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // followed by `TFE_ContextAsyncWait` to clear pending operations. It will be
      // used to cancel all other operations if any fails.
      //
      // Set step_id to configure the step id used for rendezvous creation. step id
      // of value -1 is reserved for global rendezvous and should not be set here.
      void StartExecute(TFE_Context* context,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/immediate_execution_operation.h

          CancellationManager* cancellation_manager) = 0;
    
      // Returns the stack trace set by `SetStackTrace` if exists.
      virtual absl::optional<ManagedStackTrace> GetStackTrace() = 0;
    
      virtual void SetStepId(int64_t step_id) = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractOperation* ptr) {
        return ptr->getKind() == kEager || ptr->getKind() == kTfrt;
      }
    
     protected:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. docs/tr/docs/python-types.md

    {!../../docs_src/python_types/tutorial008.py!}
    ```
    
    Bu şu anlama gelir:
    
    *  `prices` değişkeni `dict` tipindedir:
        *  `dict` değişkeninin `key` değeri  `str` tipindedir (herbir item'ın "name" değeri).
        *  `dict` değişkeninin `value` değeri `float` tipindedir (lherbir item'ın "price" değeri).
    
    #### `Optional`
    
    `Optional` bir değişkenin `str`gibi bir tipi olabileceğini ama isteğe bağlı olarak tipinin `None` olabileceğini belirtir:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. docs/en/data/sponsors.yml

      - url: https://www.svix.com/
        title: Svix - Webhooks as a service
        img: https://fastapi.tiangolo.com/img/sponsors/svix.svg
      - url: https://www.codacy.com/?utm_source=github&utm_medium=sponsors&utm_id=pioneers
        title: Take code reviews from hours to minutes
        img: https://fastapi.tiangolo.com/img/sponsors/codacy.png
      - url: https://www.stainlessapi.com/?utm_source=fastapi&utm_medium=referral
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top