Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2081 - 2090 of 2,729 for crealm (0.04 seconds)

  1. docs/es/docs/tutorial/body.md

    ///
    
    ## Importar `BaseModel` de Pydantic { #import-pydantics-basemodel }
    
    Primero, necesitas importar `BaseModel` de `pydantic`:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[2] *}
    
    ## Crea tu modelo de datos { #create-your-data-model }
    
    Luego, declaras tu modelo de datos como una clase que hereda de `BaseModel`.
    
    Usa tipos estándar de Python para todos los atributos:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/websockets.md

    当然,这并不是最优的做法,您不应该在生产环境中使用它。
    
    在生产环境中,您应该选择上述任一选项。
    
    但这是一种专注于 WebSockets 的服务器端并提供一个工作示例的最简单方式:
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[2,6:38,41:43] *}
    
    ## 创建 `websocket` { #create-a-websocket }
    
    在您的 **FastAPI** 应用程序中,创建一个 `websocket`:
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[1,46:47] *}
    
    /// note | 技术细节
    
    您也可以使用 `from starlette.websockets import WebSocket`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

                tempFile.setWritable(false, false);
                tempFile.setWritable(true, true);
                return tempFile;
            } catch (final IOException e) {
                throw new CrawlerSystemException("Could not create a temp file.", e);
            }
        }
    
        /**
         * Sets the maximum cached content size.
         * @param maxCachedContentSize The maximum cached content size in bytes.
         */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 9.7K bytes
    - Click Count (10)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java

                FileOutputStream fos;
                try {
                    fos = new FileOutputStream(this.outputFile);
                } catch (IOException e) {
                    throw new UncheckedIOException("Unable to create test suite output file", e);
                }
    
                this.writer = new PrintWriter(new BufferedOutputStream(fos));
            }
    
            public void write(TestOutputEvent event) {
                String prefix;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  5. .teamcity/performance-test-durations.json

      "durations" : [ {
        "testProject" : "archivePerformanceProject",
        "linux" : 808
      } ]
    }, {
      "scenario" : "org.gradle.performance.regression.corefeature.DeprecationCreationPerformanceTest.create many deprecation warnings",
      "durations" : [ {
        "testProject" : "generateLotsOfDeprecationWarnings",
        "linux" : 136
      } ]
    }, {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 04:45:09 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                outputBufferLengthField.setAccessible(true);
                outputBufferLengthField.set(request, 0x8000);
    
                // Create a buffer and write
                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 64);
    
                // Verify structure size (should be 41)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/CacheBuilder.java

     * explanation.
     *
     * @param <K> the most general key type this builder will be able to create caches for. This is
     *     normally {@code Object} unless it is constrained by using a method like {@link
     *     #removalListener}. Cache keys may not be null.
     * @param <V> the most general value type this builder will be able to create caches for. This is
     *     normally {@code Object} unless it is constrained by using a method like {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/TableCollectors.java

      }
    
      private static final class ImmutableTableCollectorState<R, C, V> {
        final List<MutableCell<R, C, V>> insertionOrder = new ArrayList<>();
        final Table<R, C, MutableCell<R, C, V>> table = HashBasedTable.create();
    
        void put(R row, C column, V value, BinaryOperator<V> merger) {
          MutableCell<R, C, V> oldCell = table.get(row, column);
          if (oldCell == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/middleware.md

    * 그런 다음 **응답**을 반환합니다.
    
    /// note | 기술 세부사항
    
    `yield`를 사용하는 의존성이 있다면, exit 코드는 미들웨어 *후에* 실행됩니다.
    
    백그라운드 작업(뒤에서 보게 될 [백그라운드 작업](background-tasks.md) 섹션에서 다룹니다)이 있다면, 모든 미들웨어 *후에* 실행됩니다.
    
    ///
    
    ## 미들웨어 만들기 { #create-a-middleware }
    
    미들웨어를 만들기 위해 함수 상단에 데코레이터 `@app.middleware("http")`를 사용합니다.
    
    미들웨어 함수는 다음을 받습니다:
    
    * `request`.
    * `request`를 매개변수로 받는 `call_next` 함수.
        * 이 함수는 `request`를 해당하는 *경로 처리*로 전달합니다.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/background-tasks.md

    首先,匯入 `BackgroundTasks`,並在你的路徑操作函式中定義一個型別為 `BackgroundTasks` 的參數:
    
    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[1,13] *}
    
    **FastAPI** 會為你建立 `BackgroundTasks` 物件,並以該參數傳入。
    
    ## 建立任務函式 { #create-a-task-function }
    
    建立一個作為背景任務執行的函式。
    
    它只是個可接收參數的一般函式。
    
    它可以是 `async def`,也可以是一般的 `def`,**FastAPI** 都能正確處理。
    
    在此例中,任務函式會寫入檔案(模擬寄送電子郵件)。
    
    由於寫入操作未使用 `async` 與 `await`,因此以一般的 `def` 定義該函式:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.1K bytes
    - Click Count (0)
Back to Top