Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1841 - 1850 of 2,636 for info (0.07 seconds)

  1. docs/zh-hant/docs/advanced/dataclasses.md

    所以,即使上面的程式碼沒有明確使用 Pydantic,FastAPI 仍會使用 Pydantic 將那些標準的 dataclass 轉換為 Pydantic 版本的 dataclass。
    
    而且當然一樣支援:
    
    - 資料驗證
    - 資料序列化
    - 資料文件化等
    
    它的運作方式與 Pydantic 模型相同;實際上,底層就是透過 Pydantic 達成的。
    
    /// info
    
    請記得,dataclass 無法做到 Pydantic 模型能做的一切。
    
    所以你可能仍然需要使用 Pydantic 模型。
    
    但如果你手邊剛好有一堆 dataclass,這是個不錯的小技巧,可以用來用 FastAPI 驅動一個 Web API。🤓
    
    ///
    
    ## 在 `response_model` 中使用 Dataclasses { #dataclasses-in-response-model }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/dependencies/sub-dependencies.md

        - 如果使用者沒有提供查詢 `q`,我們就使用先前儲存在 cookie 中的最後一次查詢值。
    
    ## 使用相依項 { #use-the-dependency }
    
    然後我們可以這樣使用這個相依項:
    
    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[23] *}
    
    /// info
    
    注意,在路徑操作函式中我們只宣告了一個相依項 `query_or_cookie_extractor`。
    
    但 **FastAPI** 會知道它必須先解析 `query_extractor`,在呼叫 `query_or_cookie_extractor` 時把其結果傳入。
    
    ///
    
    ```mermaid
    graph TB
    
    query_extractor(["query_extractor"])
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        boolean threadStarted = false;
        try {
          finalizerStarter.startFinalizer(FinalizableReference.class, queue, frqRef);
          threadStarted = true;
        } catch (Throwable t) {
          logger.log(
              Level.INFO,
              "Failed to start reference finalizer thread."
                  + " Reference cleanup will only occur when new references are created.",
              t);
        }
    
        this.threadStarted = threadStarted;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  4. docs/ru/docs/how-to/separate-openapi-schemas.md

    В таком случае вы можете отключить эту функциональность в **FastAPI** с помощью параметра `separate_input_output_schemas=False`.
    
    /// info | Информация
    
    Поддержка `separate_input_output_schemas` появилась в FastAPI `0.102.0`. 🤓
    
    ///
    
    {* ../../docs_src/separate_openapi_schemas/tutorial002_py310.py hl[10] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Jan 20 23:03:07 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. cmd/config-migrate.go

    			if !osIsNotExist(err) && !osIsPermission(err) {
    				return nil, err
    			}
    			continue
    		}
    		data, _ = json.Marshal(cfg)
    		break
    	}
    	if osIsPermission(err) {
    		logger.Info("Older config found but is not readable %s, proceeding to read config from other places", err)
    	}
    	if osIsNotExist(err) || osIsPermission(err) || len(data) == 0 {
    		data, err = readConfig(GlobalContext, objAPI, configFile)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/BuildParams.java

     * 2.0 and the Server Side Public License, v 1; you may not use this file except
     * in compliance with, at your election, the Elastic License 2.0 or the Server
     * Side Public License, v 1.
     */
    package org.elasticsearch.gradle.internal.info;
    
    import org.elasticsearch.gradle.internal.BwcVersions;
    import org.gradle.api.JavaVersion;
    import org.gradle.api.provider.Provider;
    
    import java.io.File;
    import java.lang.reflect.Modifier;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       * converts that into a <a
       * href="https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/concurrent/locks/Condition.html#implementation-considerations-heading">spurious
       * wakeup</a>. This means that resulting wait is not "uninterruptible" in the normal sense of
       * {@link Uninterruptibles}. Still, this method allows callers to write <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 23:24:32 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  8. docs/tr/docs/tutorial/response-model.md

    Burada `UserIn` adında bir model declare ediyoruz; bu model plaintext bir password içerecek:
    
    {* ../../docs_src/response_model/tutorial002_py310.py hl[7,9] *}
    
    /// info | Bilgi
    
    `EmailStr` kullanmak için önce [`email-validator`](https://github.com/JoshData/python-email-validator) paketini kurun.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                Path pomPath = entry.getKey();
                Document pomDocument = entry.getValue();
                processedPoms.add(pomPath);
    
                context.info(pomPath + " (checking for Maven 4 compatibility issues)");
                context.indent();
    
                try {
                    boolean hasIssues = false;
    
                    // Apply all compatibility fixes
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/sql-databases.md

    ### Uygulamayı Çalıştırma { #run-the-app }
    
    Uygulamayı çalıştırabilirsiniz:
    
    <div class="termy">
    
    ```console
    $ fastapi dev
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 16.8K bytes
    - Click Count (0)
Back to Top