Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1661 - 1670 of 3,697 for fromP2 (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/events/tutorial002_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.on_event("shutdown")
    def shutdown_event():
        with open("log.txt", mode="a") as log:
            log.write("Application shutdown")
    
    
    @app.get("/items/")
    async def read_items():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 255 bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/bigger-applications.md

    然后我们对 `users` 模块进行相同的操作。
    
    我们也可以像这样导入它们:
    
    ```Python
    from app.routers import items, users
    ```
    
    /// info
    
    第一个版本是「相对导入」:
    
    ```Python
    from .routers import items, users
    ```
    
    第二个版本是「绝对导入」:
    
    ```Python
    from app.routers import items, users
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun May 11 13:37:26 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

             * Sets the direct dependencies. If both a root dependency and direct dependencies are given in the request, the
             * direct dependencies from the request will be merged with the direct dependencies from the root dependency's
             * artifact descriptor, giving higher priority to the dependencies from the request.
             *
             * @param dependencies the direct dependencies, may be {@code null}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 23K bytes
    - Click Count (0)
  4. cmd/handler-utils.go

    // All values stored with a key starting with one of the following prefixes
    // must be extracted from the header.
    var userMetadataKeyPrefixes = []string{
    	"x-amz-meta-",
    	"x-minio-meta-",
    }
    
    // extractMetadataFromReq extracts metadata from HTTP header and HTTP queryString.
    func extractMetadataFromReq(ctx context.Context, r *http.Request) (metadata map[string]string, err error) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  5. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.FileEntry;
    import jcifs.util.Hexdump;
    
    /**
     * SMB1 NetServerEnum2 transaction response implementation.
     * Handles responses from network server enumeration operations, parsing server
     * information returned by the NetServerEnum2 transaction in SMB1 protocol.
     *
     * @author mbechler
     *
     */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    Ese código de estado se usará en el response y se añadirá al esquema de OpenAPI.
    
    /// note | Detalles Técnicos
    
    También podrías usar `from starlette import status`.
    
    **FastAPI** ofrece el mismo `starlette.status` como `fastapi.status` solo por conveniencia para ti, el desarrollador. Pero viene directamente de Starlette.
    
    ///
    
    ## Tags { #tags }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    Esse código de status será usado na resposta e será adicionado ao esquema OpenAPI.
    
    /// note | Detalhes Técnicos
    
    Você também poderia usar `from starlette import status`.
    
    **FastAPI** fornece o mesmo `starlette.status` como `fastapi.status` apenas como uma conveniência para você, o desenvolvedor. Mas vem diretamente do Starlette.
    
    ///
    
    ## Tags { #tags }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/Primitives.java

    @GwtCompatible
    public final class Primitives {
      private Primitives() {}
    
      /** A map from primitive types to their corresponding wrapper types. */
      // It's a constant, and we can't use ImmutableMap here without creating a circular dependency.
      @SuppressWarnings("ConstantCaseForConstants")
      private static final Map<Class<?>, Class<?>> PRIMITIVE_TO_WRAPPER_TYPE;
    
      /** A map from wrapper types to their corresponding primitive types. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_body_multiple_params/test_tutorial002.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.body_multiple_params.{request.param}")
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 11K bytes
    - Click Count (0)
  10. docs/distributed/decom-compressed-sse-s3.sh

    expanded_policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    if [ $user_count -ne $expanded_user_count ]; then
    	echo "BUG: original user count differs from expanded setup"
    	exit 1
    fi
    
    if [ $policy_count -ne $expanded_policy_count ]; then
    	echo "BUG: original policy count  differs from expanded setup"
    	exit 1
    fi
    
    ./mc version info myminio/versioned | grep -q "versioning is enabled"
    ret=$?
    if [ $ret -ne 0 ]; then
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
Back to Top