Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 672 for paso (0.05 sec)

  1. tests/test_dependency_after_yield_raise.py

    from typing import Annotated, Any
    
    import pytest
    from fastapi import Depends, FastAPI, HTTPException
    from fastapi.testclient import TestClient
    
    
    class CustomError(Exception):
        pass
    
    
    def catching_dep() -> Any:
        try:
            yield "s"
        except CustomError as err:
            raise HTTPException(status_code=418, detail="Session error") from err
    
    
    def broken_dep() -> Any:
        yield "s"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. internal/disk/directio_darwin.go

    }
    
    // DisableDirectIO - disables directio mode.
    func DisableDirectIO(f *os.File) error {
    	fd := f.Fd()
    	_, err := unix.FcntlInt(fd, unix.F_NOCACHE, 0)
    	return err
    }
    
    // AlignedBlock - pass through to directio implementation.
    func AlignedBlock(blockSize int) []byte {
    	return directio.AlignedBlock(blockSize)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Jun 17 14:31:36 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java

      }
    
      // TODO(cpovirk): Use standard Javadoc form for SimpleForwarding* class and constructor
      /**
       * A simplified version of {@link ForwardingListenableFuture} where subclasses can pass in an
       * already constructed {@link ListenableFuture} as the delegate.
       *
       * @since 9.0
       */
      public abstract static class SimpleForwardingListenableFuture<V extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. .github/workflows/mint/nginx-4-node.conf

                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header X-NginX-Proxy true;
    
                # This is necessary to pass the correct IP to be hashed
                real_ip_header X-Real-IP;
    
                proxy_connect_timeout 300;
                
                # To support websocket
                proxy_http_version 1.1;
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed May 15 16:52:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. docs/es/docs/help-fastapi.md

    * Revisa si puedes entender cuál es el **propósito** y el caso de uso de la persona que pregunta.
    
    * Luego revisa si la pregunta (la gran mayoría son preguntas) es **clara**.
    
    * En muchos casos, la pregunta planteada es sobre una solución imaginaria del usuario, pero podría haber una **mejor**. Si puedes entender mejor el problema y el caso de uso, podrías sugerir una mejor **solución alternativa**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/RemovalListener.java

     *     Object} if any key is acceptable
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    public interface RemovalListener<K, V> {
      /**
       * Notifies the listener that a removal occurred at some point in the past.
       *
       * <p>This does not always signify that the key is now absent from the cache, as it may have
       * already been re-added.
       */
      // Technically should accept RemovalNotification<? extends K, ? extends V>, but because
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java

      }
    
      // TODO(cpovirk): Use standard Javadoc form for SimpleForwarding* class and constructor
      /**
       * A simplified version of {@link ForwardingListenableFuture} where subclasses can pass in an
       * already constructed {@link ListenableFuture} as the delegate.
       *
       * @since 9.0
       */
      public abstract static class SimpleForwardingListenableFuture<V extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/cookie-params.md

    ///
    
    /// info | Informação
    
    Para declarar cookies, você precisa usar `Cookie`, pois caso contrário, os parâmetros seriam interpretados como parâmetros de consulta.
    
    ///
    
    /// info | Informação
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. internal/crypto/key_test.go

    func recoverTest(i int, shouldPass bool, t *testing.T) {
    	if err := recover(); err == nil && !shouldPass {
    		t.Errorf("Test %d should fail but passed successfully", i)
    	} else if err != nil && shouldPass {
    		t.Errorf("Test %d should pass but failed: %v", i, err)
    	}
    }
    
    var generateKeyTests = []struct {
    	ExtKey     [32]byte
    	Random     io.Reader
    	ShouldPass bool
    }{
    	{ExtKey: [32]byte{}, Random: nil, ShouldPass: true},              // 0
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. internal/disk/directio_unix.go

    	fd := f.Fd()
    	flag, err := unix.FcntlInt(fd, unix.F_GETFL, 0)
    	if err != nil {
    		return err
    	}
    	flag &= ^(syscall.O_DIRECT)
    	_, err = unix.FcntlInt(fd, unix.F_SETFL, flag)
    	return err
    }
    
    // AlignedBlock - pass through to directio implementation.
    func AlignedBlock(blockSize int) []byte {
    	return directio.AlignedBlock(blockSize)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Jun 17 14:31:36 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top