Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for hugger (0.21 sec)

  1. docs/en/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### *Path operations* with `APIRouter`
    
    And then you use it to declare your *path operations*.
    
    Use it the same way you would use the `FastAPI` class:
    
    ```Python hl_lines="6  11  16" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/bigger-applications.md

    你可以导入它并通过与 `FastAPI` 类相同的方式创建一个「实例」:
    
    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### 使用 `APIRouter` 的*路径操作*
    
    然后你可以使用它来声明*路径操作*。
    
    使用方式与 `FastAPI` 类相同:
    
    ```Python hl_lines="6  11  16" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    你可以将 `APIRouter` 视为一个「迷你 `FastAPI`」类。
    
    所有相同的选项都得到支持。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

              if (!buffer.isProbablyUtf8()) {
                logger.log("")
                logger.log("<-- END HTTP (${totalMs}ms, binary ${buffer.size}-byte body omitted)")
                return response
              }
    
              if (contentLength != 0L) {
                logger.log("")
                logger.log(buffer.clone().readString(charset))
              }
    
              logger.log(
                buildString {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  4. api/go1.21.txt

    pkg log/slog, method (*Logger) DebugContext(context.Context, string, ...interface{}) #61200
    pkg log/slog, method (*Logger) Debug(string, ...interface{}) #56345
    pkg log/slog, method (*Logger) Enabled(context.Context, Level) bool #56345
    pkg log/slog, method (*Logger) ErrorContext(context.Context, string, ...interface{}) #61200
    pkg log/slog, method (*Logger) Error(string, ...interface{}) #56345
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        return when {
          logger.isLoggable(Level.FINE) -> Throwable(closer) // These are expensive to allocate.
          else -> null
        }
      }
    
      open fun logCloseableLeak(
        message: String,
        stackTrace: Any?,
      ) {
        var logMessage = message
        if (stackTrace == null) {
          logMessage += " To see where this was allocated, set the OkHttpClient logger level to " +
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          currentThread = Thread.currentThread()
          logger.addHandler(loggerHandler)
        }
    
        override fun secureConnectEnd(
          call: Call,
          handshake: Handshake?,
        ) {
          logger.removeHandler(loggerHandler)
        }
    
        override fun callEnd(call: Call) {
          // Cleanup log handler if failed.
          logger.removeHandler(loggerHandler)
        }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        portField = serverSocket!!.localPort
    
        taskRunner.newQueue().execute("MockWebServer $portField", cancelable = false) {
          try {
            logger.fine("$this starting to accept connections")
            acceptConnections()
          } catch (e: Throwable) {
            logger.log(Level.WARNING, "$this failed unexpectedly", e)
          }
    
          // Release all sockets and all threads, even if any close fails.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/concepts.md

    The client will get a **500 Internal Server Error** for that request, but the application will continue working for the next requests instead of just crashing completely.
    
    ### Bigger Errors - Crashes
    
    Nevertheless, there might be cases where we write some code that **crashes the entire application** making Uvicorn and Python crash. 💥
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.pom

                                        </message>
                                        <version>[${project.prerequisites.maven},)</version>
                                    </requireMavenVersion>
                                    <requireJavaVersion>
                                        <message>Current JDK version ${java.version} should be ${jdkVersion}, or higher!
                                        </message>
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  10. docs/config/README.md

    ```
    ~ mc admin config set alias/ scanner
    KEY:
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
Back to top