Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 291 for Handling (0.05 seconds)

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

    │       ├── __init__.py  # makes "internal" a "Python subpackage"
    │       └── admin.py     # "admin" submodule, e.g. import app.internal.admin
    ```
    
    ## `APIRouter` { #apirouter }
    
    Let's say the file dedicated to handling just users is the submodule at `/app/routers/users.py`.
    
    You want to have the *path operations* related to your users separated from the rest of the code, to keep it organized.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  2. docs/en/docs/fastapi-cli.md

    In most cases you would (and should) have a "termination proxy" handling HTTPS for you on top, this will depend on how you deploy your application, your provider might do this for you, or you might need to set it up yourself.
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

    class WebSocketRecorder(
      private val name: String,
    ) : WebSocketListener() {
      private val events = LinkedBlockingQueue<Any>()
      private var delegate: WebSocketListener? = null
    
      /** Sets a delegate for handling the next callback to this listener. Cleared after invoked.  */
      fun setNextEventDelegate(delegate: WebSocketListener?) {
        this.delegate = delegate
      }
    
      override fun onOpen(
        webSocket: WebSocket,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

     * // Document is automatically updated
     * </pre>
     */
    public abstract class AbstractUpgradeStrategy implements UpgradeStrategy {
    
        /**
         * Template method that handles common logging and error handling.
         * Subclasses implement the actual upgrade logic in doApply().
         */
        @Override
        public final UpgradeResult apply(UpgradeContext context, Map<Path, Document> pomMap) {
            context.info(getDescription());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  5. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                    logError("Error updating file", e);
                }
            }
    
            return true;
        }
    
        /**
         * Gets the fully qualified class name for a type element, including handling inner classes.
         *
         * @param typeElement the type element to get the class name for
         * @return the fully qualified class name
         */
        private String getFullClassName(TypeElement typeElement) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. tests/embedded_struct_test.go

    	}
    }
    
    type Content struct {
    	Content interface{} `gorm:"type:String"`
    }
    
    func (c Content) Value() (driver.Value, error) {
    	// mssql driver with issue on handling null bytes https://github.com/denisenkom/go-mssqldb/issues/530,
    	b, err := json.Marshal(c)
    	return string(b[:]), err
    }
    
    func (c *Content) Scan(src interface{}) error {
    	var value Content
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed May 08 04:07:58 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  7. .github/DISCUSSION_TEMPLATE/questions.yml

            I end up not being able to add new features, fix bugs, review pull requests, etc. as fast as I wish because I have to spend too much time handling questions.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/websockets.md

    ///
    
    Con eso puedes conectar el WebSocket y luego enviar y recibir mensajes:
    
    <img src="/img/tutorial/websockets/image05.png">
    
    ## Manejar desconexiones y múltiples clientes { #handling-disconnections-and-multiple-clients }
    
    Cuando una conexión de WebSocket se cierra, el `await websocket.receive_text()` lanzará una excepción `WebSocketDisconnect`, que puedes capturar y manejar como en este ejemplo.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    http://hello%00
    
    # Escaped numbers should be treated like IP addresses if they are.
    # No special handling for IPv4 or IPv4-like URLs
    http://%30%78%63%30%2e%30%32%35%30.01  s:http p:/ h:192.168.0.1
    http://%30%78%63%30%2e%30%32%35%30.01%2e  s:http p:/ h:0xc0.0250.01.
    http://192.168.0.257
    
    # Invalid escaping should trigger the regular host error handling.
    http://%3g%78%63%30%2e%30%32%35%30%2E.01
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                assertTrue(Files.exists(parentPom), "Parent POM should exist");
                assertTrue(Files.exists(modulePom), "Module POM should exist");
            }
        }
    
        @Nested
        @DisplayName("Error Handling")
        class ErrorHandlingTests {
    
            @Test
            @DisplayName("should handle missing POM gracefully")
            void shouldHandleMissingPomGracefully() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top