Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for function (0.19 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

        sourceFilesBaseName: String,
        hashTypeSourceName: java.util.function.Function<String, String>,
        classPath: List<File>,
        classPathDependencies: List<File>,
        apiSpec: java.util.function.Function<String, Boolean>,
        parameterNamesSupplier: java.util.function.Function<String, List<String>?>,
        sinceSupplier: java.util.function.Function<String, String?>,
    ): List<File> =
    
        apiTypeProviderFor(
            asmLevel,
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/custom-response.md

    {!../../../docs_src/custom_response/tutorial008.py!}
    ```
    
    1. This is the generator function. It's a "generator function" because it contains `yield` statements inside.
    2. By using a `with` block, we make sure that the file-like object is closed after the generator function is done. So, after it finishes sending the response.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. docs/en/docs/async.md

    ### Other utility functions
    
    Any other utility function that you call directly can be created with normal `def` or `async def` and FastAPI won't affect the way you call it.
    
    This is in contrast to the functions that FastAPI calls for you: *path operation functions* and dependencies.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/index.md

    !!! tip
        You'll see what other "things", apart from functions, can be used as dependencies in the next chapter.
    
    Whenever a new request arrives, **FastAPI** will take care of:
    
    * Calling your dependency ("dependable") function with the correct parameters.
    * Get the result from your function.
    * Assign that result to the parameter in your *path operation function*.
    
    ```mermaid
    graph TB
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/settings.md

        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Camila")
            function ->> execute: führe Code der Funktion aus
            execute ->> code: gib das Resultat zurück
        end
    
        rect rgba(0, 255, 255, .1)
            code ->> function: say_hi(name="Camila")
            function ->> code: gib das gespeicherte Resultat zurück
        end
    
        rect rgba(0, 255, 0, .1)
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

          contentType: MediaType? = null,
          contentLength: Long = -1L,
        ): ResponseBody = commonAsResponseBody(contentType, contentLength)
    
        @JvmStatic
        @Deprecated(
          message = "Moved to extension function. Put the 'content' argument first to fix Java",
          replaceWith =
            ReplaceWith(
              expression = "content.toResponseBody(contentType)",
              imports = ["okhttp3.ResponseBody.Companion.toResponseBody"],
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/fe.tld

        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.lang.String sdh(java.lang.String)</function-signature>
        <example>${fe:sdh(doc.similar_docs_hash)}</example>
      </function>
    
      <function>
        <description>Concatenate strings.</description>
        <name>join</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu May 28 07:49:35 GMT 2020
    - 10K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            }
    
            // Preliminary extension function check
            val extensionCandidate = couldBeExtensionFunction && ktFunction.receiverTypeReference != null &&
                method.firstParameterMatches(ktFunction.receiverTypeReference!!) &&
                ktFunction.valueParameters.size == paramCountWithReceiver
            if (!(extensionCandidate || ktFunction.valueParameters.size == paramCount)) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-model.md

    # Response Model - Return Type
    
    You can declare the type used for the response by annotating the *path operation function* **return type**.
    
    You can use **type annotations** the same way you would for input data in function **parameters**, you can use Pydantic models, lists, dictionaries, scalar values like integers, booleans, etc.
    
    === "Python 3.10+"
    
        ```Python hl_lines="16  21"
        {!> ../../../docs_src/response_model/tutorial001_01_py310.py!}
        ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/first-steps.md

    ### Step 4: define the **path operation function**
    
    This is our "**path operation function**":
    
    * **path**: is `/`.
    * **operation**: is `get`.
    * **function**: is the function below the "decorator" (below `@app.get("/")`).
    
    ```Python hl_lines="7"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    This is a Python function.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top