Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for sargument (0.28 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

    internal fun mapAnnotationParameters(annotation: FirAnnotation): Map<Name, FirExpression> {
        if (annotation is FirAnnotationCall && annotation.arguments.isEmpty()) return emptyMap()
    
        checkWithAttachment(annotation.resolved, { "By now the annotations argument mapping should have been resolved" }) {
            withFirEntry("annotation", annotation)
            withClassEntry("annotationTypeRef", annotation.annotationTypeRef)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/middleware.md

    from unicorn import UnicornMiddleware
    
    app = FastAPI()
    
    app.add_middleware(UnicornMiddleware, some_config="rainbow")
    ```
    
    `app.add_middleware()` receives a middleware class as the first argument and any additional arguments to be passed to the middleware.
    
    ## Integrated middlewares
    
    **FastAPI** includes several middlewares for common use cases, we'll see next how to use them.
    
    !!! note "Technical Details"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 10 18:27:10 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/path-params-numeric-validations.md

    Übergeben Sie der Funktion `*` als ersten Parameter.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 17:59:29 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/nosql-databases-couchbase.md

    If you are not familiar with the `UserInDB(**result.value)`, <a href="https://docs.python.org/3/glossary.html#term-argument" class="external-link" target="_blank">it is using `dict` "unpacking"</a>.
    
    It will take the `dict` at `result.value`, and take each of its keys and values and pass them as key-values to `UserInDB` as keyword arguments.
    
    So, if the `dict` contains:
    
    ```Python
    {
        "username": "johndoe",
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

     * limitations under the License.
     */
    package okhttp3.curl
    
    import com.github.ajalt.clikt.core.CliktCommand
    import com.github.ajalt.clikt.parameters.arguments.argument
    import com.github.ajalt.clikt.parameters.options.default
    import com.github.ajalt.clikt.parameters.options.flag
    import com.github.ajalt.clikt.parameters.options.multiple
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            val ktExpression = expression.getParentOfType<KtExpression>(false) ?: return null
            val parentExpression = if (ktExpression.parent is KtLabeledExpression) {
                // lambda -> labeled expression -> lambda argument (value argument)
                ktExpression.parent.parent
            } else {
                ktExpression.parent
            }
    
            // Unwrap specific expressions
            when (ktExpression) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 24 20:59:56 GMT 2023
    - 15.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/generatorUtils.kt

            val simpleName = if (shouldRenderFqName(type)) {
                type.qualifiedName
            } else {
                type.simpleName
            }
            return if (type.arguments.isEmpty()) simpleName + nullableSuffix
            else simpleName + type.arguments.joinToString(separator = ", ", prefix = "<", postfix = ">") {
                when (val typeArgument = it.type) {
                    null -> "*"
                    else -> typeConversion(typeArgument)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Jul 18 11:49:20 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  8. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

         */
        internal
        val isRaw: Boolean
            get() = type?.typeParameters?.isEmpty() != false || typeArguments.isEmpty()
    }
    
    
    enum class Variance {
    
        /**
         * Represent an invariant type argument.
         * e.g. `<T>`
         */
        INVARIANT,
    
        /**
         * Represent a covariant type argument.
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  9. pyproject.toml

    ]
    xfail_strict = true
    junit_family = "xunit2"
    filterwarnings = [
        "error",
        # TODO: needed by asyncio in Python 3.9.7 https://bugs.python.org/issue45097, try to remove on 3.9.8
        'ignore:The loop argument is deprecated since Python 3\.8, and scheduled for removal in Python 3\.10:DeprecationWarning:asyncio',
        'ignore:starlette.middleware.wsgi is deprecated and will be removed in a future release\..*:DeprecationWarning:starlette',
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:28:39 GMT 2024
    - 7K bytes
    - Viewed (0)
  10. src/packaging/common/scripts/preinst

                        -d "$FESS_USER_HOME"  \
                        "$FESS_USER"
                echo " OK"
            fi
        ;;
    
        *)
            echo "pre install script called with unknown argument \`$1'" >&2
            exit 1
        ;;
    esac
    
    Plain Text
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Dec 01 09:48:15 GMT 2016
    - 2.3K bytes
    - Viewed (0)
Back to top