Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,104 for As (0.14 sec)

  1. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    Nils Lindemann <******@****.***> 1711821718 +0100
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:01:58 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    So, a Python class is also a **callable**.
    
    Then, in **FastAPI**, you could use a Python class as a dependency.
    
    What FastAPI actually checks is that it is a "callable" (function, class or anything else) and the parameters defined.
    
    If you pass a "callable" as a dependency in **FastAPI**, it will analyze the parameters for that "callable", and process them in the same way as the parameters for a *path operation function*. Including sub-dependencies.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. fastapi/__init__.py

    from .param_functions import File as File
    from .param_functions import Form as Form
    from .param_functions import Header as Header
    from .param_functions import Path as Path
    from .param_functions import Query as Query
    from .param_functions import Security as Security
    from .requests import Request as Request
    from .responses import Response as Response
    from .routing import APIRouter as APIRouter
    from .websockets import WebSocket as WebSocket
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:50:18 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.INTERFACE_AS_FUNCTION) { firDiagnostic ->
            InterfaceAsFunctionImpl(
                firSymbolBuilder.classifierBuilder.buildClassLikeSymbol(firDiagnostic.a),
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.EXPECT_CLASS_AS_FUNCTION) { firDiagnostic ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  5. tests/table_test.go

    	}
    
    	r = dryDB.Table("people as p").Table("user as u").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT \\* FROM user as u WHERE .u.\\..deleted_at. IS NULL").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("people as p").Table("user").Find(&User{}).Statement
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // TODO Consider handling other non-ConeLookupTagBasedType types here (see KT-66418)
            val type = getDeclaredType()?.lowerBoundIfFlexible() as? ConeLookupTagBasedType
    
            return type?.toTargetSymbol(session, symbolBuilder) ?: run {
                val diagnostic = (this as? FirErrorTypeRef)?.diagnostic
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/autoscaling/v1/generated.proto

      // resource metric across all relevant pods, represented as a percentage of
      // the requested value of the resource for the pods.
      // +optional
      optional int32 targetAverageUtilization = 2;
    
      // targetAverageValue is the target value of the average of the
      // resource metric across all relevant pods, as a raw value (instead of as
      // a percentage of the request), similar to the "pods" metric source type.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 22K bytes
    - Viewed (0)
  8. fastapi/_compat.py

        from pydantic.fields import FieldInfo
        from pydantic.json_schema import GenerateJsonSchema as GenerateJsonSchema
        from pydantic.json_schema import JsonSchemaValue as JsonSchemaValue
        from pydantic_core import CoreSchema as CoreSchema
        from pydantic_core import PydanticUndefined, PydanticUndefinedType
        from pydantic_core import Url as Url
    
        try:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. tensorflow/api_template.__init__.py

    import distutils as _distutils
    import importlib
    import inspect as _inspect
    import os as _os
    import site as _site
    import sys as _sys
    
    # Do not remove this line; See https://github.com/tensorflow/tensorflow/issues/42596
    from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow  # pylint: disable=unused-import
    from tensorflow.python.tools import module_util as _module_util
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  10. docs/en/docs/tutorial/body.md

        ```
    
    The function parameters will be recognized as follows:
    
    * If the parameter is also declared in the **path**, it will be used as a path parameter.
    * If the parameter is of a **singular type** (like `int`, `float`, `str`, `bool`, etc) it will be interpreted as a **query** parameter.
    * If the parameter is declared to be of the type of a **Pydantic model**, it will be interpreted as a request **body**.
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top