Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 260 for deflate (0.12 sec)

  1. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeDeclarationIntegrationTest.groovy

        MavenHttpPluginRepository pluginPortal = MavenHttpPluginRepository.asGradlePluginPortal(executer, mavenRepo)
    
        @Rule
        MavenHttpPluginRepository mavenHttpRepo = new MavenHttpPluginRepository(mavenRepo)
    
        def 'can declare and configure a custom software type from included build'() {
            given:
            withSoftwareTypePlugins().prepareToExecute()
    
            file("settings.gradle.dcl") << pluginsFromIncludedBuild
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced/kotlin/producer/build.gradle.kts

    plugins {
        `java-library`
    }
    
    // tag::declare-outgoing-configuration[]
    val instrumentedJars by configurations.creating {
        isCanBeConsumed = true
        isCanBeResolved = false
        attributes {
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_RUNTIME))
            attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.EXTERNAL))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 927 bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            val distributionRuntimeOnly = bucket("${prefix}TestDistributionRuntimeOnly", "Declare the distribution that is required to run tests")
            val localRepository = bucket("${prefix}TestLocalRepository", "Declare a local repository required as input data for the tests (e.g. :tooling-api)")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/additional-responses.md

    You can declare a `response_model`, using the default status code `200` (or a custom one if you need), and then declare additional information for that same response in `responses`, directly in the OpenAPI schema.
    
    **FastAPI** will keep the additional information from `responses`, and combine it with the JSON Schema from your model.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/dependencyManagement/modelingFeatures-crossProjectPublications-advanced/groovy/producer/build.gradle

    import org.gradle.api.attributes.java.TargetJvmVersion
    
    plugins {
        id 'java-library'
    }
    
    // tag::declare-outgoing-configuration[]
    configurations {
        instrumentedJars {
            canBeConsumed = true
            canBeResolved = false
            attributes {
                attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.LIBRARY))
                attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_RUNTIME))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/query-params-str-validations.md

        It is used by Pydantic and FastAPI to explicitly declare that a value is required.
    
    This will let **FastAPI** know that this parameter is required.
    
    ### Required with `None`
    
    You can declare that a parameter can accept `None`, but that it's still required. This would force clients to send a value, even if the value is `None`.
    
    To do that, you can declare that `None` is a valid type but still use `...` as the default:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. docs/en/docs/python-types.md

    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial004.py!}
    ```
    
    ## Declaring types
    
    You just saw the main place to declare type hints. As function parameters.
    
    This is also the main place you would use them with **FastAPI**.
    
    ### Simple types
    
    You can declare all the standard Python types, not only `str`.
    
    You can use, for example:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-multiple-params.md

    ## Mix `Path`, `Query` and body parameters
    
    First, of course, you can mix `Path`, `Query` and request body parameter declarations freely and **FastAPI** will know what to do.
    
    And you can also declare body parameters as optional, by setting the default to `None`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="18-20"
        {!> ../../../docs_src/body_multiple_params/tutorial001_an_py310.py!}
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 09 02:01:51 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {!../../../docs_src/path_operation_advanced_configuration/tutorial004.py!}
    ```
    
    ## Additional Responses
    
    You probably have seen how to declare the `response_model` and `status_code` for a *path operation*.
    
    That defines the metadata about the main response of a *path operation*.
    
    You can also declare additional responses with their models, status codes, etc.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/security/oauth2-scopes.md

        ```Python hl_lines="156"
        {!> ../../../docs_src/security/tutorial005.py!}
        ```
    
    ## Declare scopes in *path operations* and dependencies
    
    Now we declare that the *path operation* for `/users/me/items/` requires the scope `items`.
    
    For this, we import and use `Security` from `fastapi`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top