Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 71 for forced (0.04 seconds)

  1. architecture/standards/0008-use-nullaway.md

    Not all client code is compiled with NullAway.
    Do not make a parameter `@Nullable` just to check and throw a `NullPointerException` when it is `null`. 
    
    ## Status
    
    ACCEPTED
    
    ## Consequences
    
    * Classes are forced to have consistent nullability annotations.
    * IDE warnings become more accurate, reducing warnings fatigue.
    * Public API nullability annotations become closer to reality.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:40 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py

        yaml_data = """
            name: Deadpoolio
            tags:
            - x-force
            - x-men
            - x-avengers
            """
        response = client.post("/items/", content=yaml_data)
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Deadpoolio",
            "tags": ["x-force", "x-men", "x-avengers"],
        }
    
    
    def test_post_broken_yaml(client: TestClient):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. docs_src/metadata/tutorial001_py39.py

        version="0.0.1",
        terms_of_service="http://example.com/terms/",
        contact={
            "name": "Deadpoolio the Amazing",
            "url": "http://x-force.example.com/contact/",
            "email": "dp@x-force.example.com",
        },
        license_info={
            "name": "Apache 2.0",
            "url": "https://www.apache.org/licenses/LICENSE-2.0.html",
        },
    )
    
    
    @app.get("/items/")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 805 bytes
    - Click Count (0)
  4. docs_src/metadata/tutorial001_1_py39.py

        version="0.0.1",
        terms_of_service="http://example.com/terms/",
        contact={
            "name": "Deadpoolio the Amazing",
            "url": "http://x-force.example.com/contact/",
            "email": "dp@x-force.example.com",
        },
        license_info={
            "name": "Apache 2.0",
            "identifier": "MIT",
        },
    )
    
    
    @app.get("/items/")
    async def read_items():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 767 bytes
    - Click Count (0)
  5. tests/test_tutorial/test_metadata/test_tutorial001_1.py

                "termsOfService": "http://example.com/terms/",
                "contact": {
                    "name": "Deadpoolio the Amazing",
                    "url": "http://x-force.example.com/contact/",
                    "email": "dp@x-force.example.com",
                },
                "license": {
                    "name": "Apache 2.0",
                    "identifier": "MIT",
                },
                "version": "0.0.1",
            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

        int keyHash = Hashing.smearedHash(key);
        int entryForKey = findEntryByKey(key, keyHash);
        if (entryForKey != ABSENT) {
          V oldValue = values[entryForKey];
          if (Objects.equals(oldValue, value)) {
            return value;
          } else {
            replaceValueInEntry(entryForKey, value, force);
            return oldValue;
          }
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 14:46:34 GMT 2025
    - 37.1K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_metadata/test_tutorial001.py

                "termsOfService": "http://example.com/terms/",
                "contact": {
                    "name": "Deadpoolio the Amazing",
                    "url": "http://x-force.example.com/contact/",
                    "email": "dp@x-force.example.com",
                },
                "license": {
                    "name": "Apache 2.0",
                    "url": "https://www.apache.org/licenses/LICENSE-2.0.html",
                },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. .pre-commit-config.yaml

        hooks:
          - id: local-ruff-check
            name: ruff check
            entry: uv run ruff check --force-exclude --fix --exit-non-zero-on-fix
            require_serial: true
            language: unsupported
            types: [python]
    
          - id: local-ruff-format
            name: ruff format
            entry: uv run ruff format --force-exclude --exit-non-zero-on-format
            require_serial: true
            language: unsupported
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 11:36:58 GMT 2025
    - 1.8K bytes
    - Click Count (1)
  9. CONTRIBUTING.md

    4.  Do your best to have a [well-formed commit message][] for the change.
    5.  Pull requests typically do not need to modify the files under the `android`
        directory: We have a script that automatically mirrors changes from the main
        directories into the `android` directories.
    
    [Java style guide]: https://google.github.io/styleguide/javaguide.html
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 15 18:43:50 GMT 2025
    - 4K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/query-param-models.md

    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## Prohibir Parámetros Query Extras { #forbid-extra-query-parameters }
    
    En algunos casos de uso especiales (probablemente no muy comunes), podrías querer **restringir** los parámetros query que deseas recibir.
    
    Puedes usar la configuración del modelo de Pydantic para `forbid` cualquier campo `extra`:
    
    {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top