Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 230 for curry (0.07 sec)

  1. docs/en/docs/tutorial/dependencies/index.md

    It doesn't matter. **FastAPI** will know what to do.
    
    /// note
    
    If you don't know, check the [Async: *"In a hurry?"*](../../async.md#in-a-hurry){.internal-link target=_blank} section about `async` and `await` in the docs.
    
    ///
    
    ## Integrated with OpenAPI
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:18:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_internal.h

     protected:
      explicit TracingOperation(AbstractOperationKind kind)
          : AbstractOperation(kind) {}
    
     public:
      // Sets the name of the operation: this is an optional identifier that is
      // not intended to carry semantics and preserved/propagated without
      // guarantees.
      virtual absl::Status SetOpName(const char* op_name) = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractOperation* ptr) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/dataclasses.md

    8️⃣. 👀 👈 👉 *➡ 🛠️ 🔢* ⚙️ 🥔 `def` ↩️ `async def`.
    
        🕧, FastAPI 👆 💪 🌀 `def` & `async def` 💪.
    
        🚥 👆 💪 ↗️ 🔃 🕐❔ ⚙️ ❔, ✅ 👅 📄 _"🏃 ❓" _ 🩺 🔃 <a href="https://fastapi.tiangolo.com/async/#in-a-hurry" target="_blank" class="internal-link">`async` &amp; `await`</a>.
    
    9️⃣. 👉 *➡ 🛠️ 🔢* 🚫 🛬 🎻 (👐 ⚫️ 💪), ✋️ 📇 📖 ⏮️ 🔗 💽.
    
        FastAPI 🔜 ⚙️ `response_model` 🔢 (👈 🔌 🎻) 🗜 📨.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/first-steps.md

    You could also define it as a normal function instead of `async def`:
    
    {* ../../docs_src/first_steps/tutorial003.py hl[7] *}
    
    /// note
    
    If you don't know the difference, check the [Async: *"In a hurry?"*](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    ///
    
    ### Step 5: return the content
    
    {* ../../docs_src/first_steps/tutorial001.py hl[8] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:48:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/first-steps.md

    ---
    
    你也可以将其定义为常规函数而不使用 `async def`:
    
    ```Python hl_lines="7"
    {!../../docs_src/first_steps/tutorial003.py!}
    ```
    
    /// note
    
    如果你不知道两者的区别,请查阅 [Async: *"In a hurry?"*](https://fastapi.tiangolo.com/async/#in-a-hurry){.internal-link target=_blank}。
    
    ///
    
    ### 步骤 5:返回内容
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. cmd/sts-errors.go

    func (e stsErrorCodeMap) ToSTSErr(errCode STSErrorCode) STSError {
    	apiErr, ok := e[errCode]
    	if !ok {
    		return e[ErrSTSInternalError]
    	}
    	return apiErr
    }
    
    // error code to STSError structure, these fields carry respective
    // descriptions for all the error responses.
    var stsErrCodes = stsErrorCodeMap{
    	ErrSTSAccessDenied: {
    		Code:           "AccessDenied",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. docs/uk/docs/index.md

        return {"item_id": item_id, "q": q}
    ```
    
    **Примітка**:
    
    Стикнувшись з проблемами, не зайвим буде ознайомитися з розділом _"In a hurry?"_ про <a href="https://fastapi.tiangolo.com/async/#in-a-hurry" target="_blank">`async` та `await` у документації</a>.
    
    </details>
    
    ### Запустіть
    
    Запустіть server з:
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  8. cmd/bucket-replication-stats.go

    func (r *ReplicationStats) ActiveWorkers() ActiveWorkerStat {
    	if r == nil {
    		return ActiveWorkerStat{}
    	}
    	r.wlock.RLock()
    	defer r.wlock.RUnlock()
    	w := r.workers.get()
    	return ActiveWorkerStat{
    		Curr: w.Curr,
    		Max:  w.Max,
    		Avg:  w.Avg,
    	}
    }
    
    func (r *ReplicationStats) collectWorkerMetrics(ctx context.Context) {
    	if r == nil {
    		return
    	}
    	for {
    		select {
    		case <-ctx.Done():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/index.md

    **FastAPI** provides several tools to help you deal with **Security** easily, rapidly, in a standard way, without having to study and learn all the security specifications.
    
    But first, let's check some small concepts.
    
    ## In a hurry?
    
    If you don't care about any of these terms and you just need to add security with authentication based on username and password *right now*, skip to the next chapters.
    
    ## OAuth2
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. docs/vi/docs/index.md

    @app.get("/items/{item_id}")
    async def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    **Lưu ý**:
    
    Nếu bạn không biết, xem phần _"In a hurry?"_ về <a href="https://fastapi.tiangolo.com/async/#in-a-hurry" target="_blank">`async` và `await` trong tài liệu này</a>.
    
    </details>
    
    ### Chạy ứng dụng
    
    Chạy server như sau:
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top