Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 561 for ModelC (0.08 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java

            org.apache.maven.api.model.Model model = read(path, null, null, options);
            return new org.apache.maven.model.Model(model);
        }
    
        @Override
        public org.apache.maven.model.Model read(InputStream input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
            try (InputStream in = input) {
                org.apache.maven.api.model.Model model = read(null, in, null, options);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. tests/test_response_by_alias.py

    
    @app.get("/dict", response_model=Model, response_model_by_alias=False)
    def read_dict():
        return {"alias": "Foo"}
    
    
    @app.get("/model", response_model=Model, response_model_by_alias=False)
    def read_model():
        return Model(alias="Foo")
    
    
    @app.get("/list", response_model=List[Model], response_model_by_alias=False)
    def read_list():
        return [{"alias": "Foo"}, {"alias": "Bar"}]
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelPathTranslator.java

         */
        @Deprecated
        void alignToBaseDirectory(Model model, File basedir, ModelBuildingRequest request);
    
        /**
         * Resolves the well-known paths of the specified model against the given base directory. Paths within plugin
         * configuration are not processed.
         *
         * @param model The model whose paths should be resolved, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

    import okio.buffer
    import okio.source
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    /** Runs the web platform URL tests against Java URL models.  */
    class WebPlatformUrlTest {
      class TestDataParamProvider : SimpleProvider() {
        override fun arguments() = ArrayList<Any>(loadTests())
      }
    
      /** Test how [HttpUrl] does against the web platform test suite.  */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/response-directly.md

    # Return a Response Directly
    
    When you create a **FastAPI** *path operation* you can normally return any data from it: a `dict`, a `list`, a Pydantic model, a database model, etc.
    
    By default, **FastAPI** would automatically convert that return value to JSON using the `jsonable_encoder` explained in [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

    import jetbrains.buildServer.configs.kotlin.failureConditions.BuildFailureOnText
    import model.ALL_CROSS_VERSION_BUCKETS
    import model.CIBuildModel
    import model.DefaultFunctionalTestBucketProvider
    import model.JsonBasedGradleSubprojectProvider
    import model.QUICK_CROSS_VERSION_BUCKETS
    import model.TestCoverage
    import model.TestType
    import model.ignoredSubprojects
    import org.junit.jupiter.api.Assertions.assertEquals
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Profile;
    
    /**
     * Collects the output of the model builder.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.model.Model;
    
    /**
     * Signals one ore more errors during model building. The model builder tries to collect as many problems as possible
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. tests/test_jsonable_encoder.py

        model = ModelWithDefault(foo="foo", bar="bar")
        assert jsonable_encoder(model) == {"foo": "foo", "bar": "bar", "bla": "bla"}
        assert jsonable_encoder(model, exclude_unset=True) == {"foo": "foo", "bar": "bar"}
        assert jsonable_encoder(model, exclude_defaults=True) == {"foo": "foo"}
        assert jsonable_encoder(model, exclude_unset=True, exclude_defaults=True) == {
            "foo": "foo"
        }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/schema-extra-example.md

    ///
    
    Quando você adiciona um exemplo dentro de um modelo Pydantic, usando `schema_extra` ou` Field(example="something") `esse exemplo é adicionado ao **JSON Schema** para esse modelo Pydantic.
    
    E esse **JSON Schema** do modelo Pydantic está incluído no **OpenAPI** da sua API e, em seguida, é usado na UI da documentação.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top