Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,132 for awaitable (0.21 sec)

  1. fastapi/datastructures.py

            Any next read or write will be done from that position.
    
            To be awaitable, compatible with async, this is run in threadpool.
            """
            return await super().seek(offset)
    
        async def close(self) -> None:
            """
            Close the file.
    
            To be awaitable, compatible with async, this is run in threadpool.
            """
            return await super().close()
    
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. tests/test_dependency_contextvars.py

    from contextvars import ContextVar
    from typing import Any, Awaitable, Callable, Dict, Optional
    
    from fastapi import Depends, FastAPI, Request, Response
    from fastapi.testclient import TestClient
    
    legacy_request_state_context_var: ContextVar[Optional[Dict[str, Any]]] = ContextVar(
        "legacy_request_state_context_var", default=None
    )
    
    app = FastAPI()
    
    
    async def set_up_request_state_dependency():
        request_state = {"user": "deadpond"}
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Feb 17 12:40:12 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  3. fastapi/applications.py

    from enum import Enum
    from typing import (
        Any,
        Awaitable,
        Callable,
        Coroutine,
        Dict,
        List,
        Optional,
        Sequence,
        Type,
        TypeVar,
        Union,
    )
    
    from fastapi import routing
    from fastapi.datastructures import Default, DefaultPlaceholder
    from fastapi.exception_handlers import (
        http_exception_handler,
        request_validation_exception_handler,
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exception/ContainerNotAvailableException.java

            super(componentName + " is not available.");
        }
    
        public ContainerNotAvailableException(final String componentName, final Throwable cause) {
            super(componentName + " is not available.", cause);
            this.componentName = componentName;
        }
    
        public ContainerNotAvailableException(final Throwable cause) {
            super("Container is not avaiable.");
            this.componentName = "container";
        }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteStreams.java

       * {@code InputStream.skip()}.
       */
      private static long skipSafely(InputStream in, long n) throws IOException {
        int available = in.available();
        return available == 0 ? 0 : in.skip(Math.min(available, n));
      }
    
      /**
       * Process the bytes of the given input stream using the given processor.
       *
       * @param input the input stream to process
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  6. manifests/charts/ztunnel/values.yaml

      # Valid values are: trace, debug, info, warn, error
      logLevel: info
    
      # Set to `type: RuntimeDefault` to use the default profile if available.
      seLinuxOptions: {}
      # TODO Ambient inpod - for OpenShift, set to the following to get writable sockets in hostmounts to work, eventually consider CSI driver instead
      #seLinuxOptions:
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/LICENSE

    does not provide legal services or legal advice. Distribution of
    Creative Commons public licenses does not create a lawyer-client or
    other relationship. Creative Commons makes its licenses and related
    information available on an "as-is" basis. Creative Commons gives no
    warranties regarding its licenses, any material licensed under their
    terms and conditions, or any related information. Creative Commons
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon May 10 16:50:06 GMT 2021
    - 18.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    - invalid lifecycle phase (maybe same as bad CLI param, though you were talking about embedder too)
    - <module> specified is not found
    - malformed settings
    - malformed POM
    - local repository not writable
    - remote repositories not available
    - artifact metadata missing
    - extension metadata missing
    - extension artifact missing
    - artifact metadata retrieval problem
    - version range violation
    - circular dependency
    - artifact missing
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  9. cmd/prepare-storage.go

    		case errErasureReadQuorum:
    			// no quorum available continue to wait for minimum number of servers.
    			logger.Info("Waiting for a minimum of %d drives to come online (elapsed %s)\n",
    				len(endpoints)/2, getElapsedTime())
    		case errErasureWriteQuorum:
    			// no quorum available continue to wait for minimum number of servers.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ops->random_access_file_ops_api = TF_RANDOM_ACCESS_FILE_OPS_API;
      ops->random_access_file_ops_size = TF_RANDOM_ACCESS_FILE_OPS_SIZE;
      ops->writable_file_ops_abi = TF_WRITABLE_FILE_OPS_ABI;
      ops->writable_file_ops_api = TF_WRITABLE_FILE_OPS_API;
      ops->writable_file_ops_size = TF_WRITABLE_FILE_OPS_SIZE;
      ops->read_only_memory_region_ops_abi = TF_READ_ONLY_MEMORY_REGION_OPS_ABI;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top