Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 31 for submodule (0.45 seconds)

  1. tests/test_skip_defaults.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class SubModel(BaseModel):
        a: Optional[str] = "foo"
    
    
    class Model(BaseModel):
        x: Optional[int] = None
        sub: SubModel
    
    
    class ModelSubclass(Model):
        y: int
        z: int = 0
        w: Optional[int] = None
    
    
    class ModelDefaults(BaseModel):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2K bytes
    - Click Count (0)
  2. tests/test_validate_response_recursive/app.py

    
    @app.get("/items/recursive", response_model=RecursiveItem)
    def get_recursive():
        return {"name": "item", "sub_items": [{"name": "subitem", "sub_items": []}]}
    
    
    @app.get("/items/recursive-submodel", response_model=RecursiveItemViaSubmodel)
    def get_recursive_submodel():
        return {
            "name": "item",
            "sub_items1": [
                {
                    "name": "subitem",
                    "sub_items2": [
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  3. tests/test_validate_response_recursive/test_validate_response_recursive.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "sub_items": [{"name": "subitem", "sub_items": []}],
            "name": "item",
        }
    
        response = client.get("/items/recursive-submodel")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "item",
            "sub_items1": [
                {
                    "name": "subitem",
                    "sub_items2": [
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Jun 17 10:24:10 GMT 2025
    - 836 bytes
    - Click Count (0)
  4. tests/test_response_model_as_return_annotation.py

                    }
                },
                "/response_model_filtering_model-annotation_submodel-return_submodel": {
                    "get": {
                        "summary": "Response Model Filtering Model Annotation Submodel Return Submodel",
                        "operationId": "response_model_filtering_model_annotation_submodel_return_submodel_response_model_filtering_model_annotation_submodel_return_submodel_get",
                        "responses": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 47.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java

         * Builds the projects for the specified POM files and optionally their children.
         *
         * @param pomFiles The POM files to build, must not be {@code null}.
         * @param recursive {@code true} to recursively build submodules referenced by the POM files, {@code false} to
         *            build only the specified POM files.
         * @param request The project builder configuration that provides further parameters, must not be {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  6. RELEASE.md

        `TF_Run`, `TF_SessionRun`, `TF_SetAttrTensor` etc.
    *   Renamed `tf.image.per_image_whitening()` to
        `tf.image.per_image_standardization()`
    *   Move Summary protobuf constructors to `tf.summary` submodule.
    *   Deprecate `histogram_summary`, `audio_summary`, `scalar_summary`,
        `image_summary`, `merge_summary`, and `merge_all_summaries`.
    *   Combined `batch_*` and regular version of linear algebra and FFT ops. The
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Tue Oct 28 22:27:41 GMT 2025
    - 740.4K bytes
    - Click Count (3)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            }
    
            // So now we have an url of the form file://<path>
    
            // We want to eliminate any relative path nonsense and lock down the path so we
            // need to fully resolve it before any submodules use the path. This can happen
            // when you are using a custom settings.xml that contains a relative path entry
            // for the local repository setting.
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  8. fastapi/routing.py

                    name=response_name,
                    type_=self.response_model,
                    mode="serialization",
                )
                # Create a clone of the field, so that a Pydantic submodel is not returned
                # as is just because it's an instance of a subclass of a more limited class
                # e.g. UserInDB (containing hashed_password) could be a subclass of User
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  9. lib/fips140/v1.0.0-c2097c7c.zip

    reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. FROM coqorg/coq:8.13.2 RUN git clone https://github.com/mit-plv/fiat-crypto && cd fiat-crypto && \ git checkout 23d2dbc4ab897d14bde4 && \ git submodule update --init --recursive RUN cd fiat-crypto && eval $(opam env) && make -j4 standalone-ocaml SKIP_BEDROCK2=1 ENV PATH /home/coq/fiat-crypto/src/ExtractionOCaml:$PATH golang.org/fips140@v1.0.0-c2097c7c/fips140/v1.0.0-c2097c7c/nistec/fiat/README The...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  10. lib/fips140/v1.1.0-rc1.zip

    reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. FROM coqorg/coq:8.13.2 RUN git clone https://github.com/mit-plv/fiat-crypto && cd fiat-crypto && \ git checkout 23d2dbc4ab897d14bde4 && \ git submodule update --init --recursive RUN cd fiat-crypto && eval $(opam env) && make -j4 standalone-ocaml SKIP_BEDROCK2=1 ENV PATH /home/coq/fiat-crypto/src/ExtractionOCaml:$PATH golang.org/fips140@v1.1.0-rc1/fips140/v1.1.0-rc1/nistec/fiat/README The code in...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
Back to Top