Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 943 for warning2 (0.21 seconds)

  1. fastapi/_compat/v2.py

                    warnings.simplefilter(
                        "ignore", category=UnsupportedFieldAttributeWarning
                    )
                # TODO: remove after setting the min Pydantic to v2.12.3
                # that adds asdict(), and use self.field_info.asdict() instead
                field_dict = asdict(self.field_info)
                annotated_args = (
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  2. docs/de/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}
    
    `PUT` wird verwendet, um Daten zu empfangen, die die existierenden Daten ersetzen sollen.
    
    ### Warnung bezüglich des Ersetzens { #warning-about-replacing }
    
    Das bedeutet, dass, wenn Sie den Artikel `bar` aktualisieren wollen, mittels `PUT` und folgendem Body:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 5K bytes
    - Click Count (0)
  3. fastapi/exceptions.py

        """
        A pydantic.v1 model is used, which is no longer supported.
        """
    
    
    class FastAPIDeprecationWarning(UserWarning):
        """
        A custom deprecation warning as DeprecationWarning is ignored
        Ref: https://sethmlarson.dev/deprecations-via-warnings-dont-work-for-python-libraries
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableCollection.java

     *       collection whose contents should be copied.
     *   <li>A static nested {@code Builder} class which can be used to populate a new immutable
     *       instance.
     * </ul>
     *
     * <h4>Warnings</h4>
     *
     * <ul>
     *   <li><b>Warning:</b> as with any collection, it is almost always a bad idea to modify an element
     *       (in a way that affects its {@link Object#equals} behavior) while it is contained in a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

                        .builder()
                        .warning("Parameter '")
                        .warning(name)
                        .warning("' is unknown for plugin '")
                        .warning(mojoExecution.getArtifactId())
                        .warning(":")
                        .warning(mojoExecution.getVersion())
                        .warning(":")
                        .warning(mojoExecution.getGoal());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

         * <p>
         * If there are Maven3 passwords presents in settings, this results in doubled warnings emitted. So Plexus DI
         * creation call keeps "emitSettingsWarnings" false. If there are fatal issues, it will anyway "die" at that
         * spot before warnings would be emitted.
         * <p>
         * The method returns a "cleaner" runnable, as during extension loading the context needs to be "cleaned", restored
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  7. tests/test_multipart_installation.py

    import warnings
    
    import pytest
    from fastapi import FastAPI, File, Form, UploadFile
    from fastapi.dependencies.utils import (
        multipart_incorrect_install_error,
        multipart_not_installed_error,
    )
    
    
    def test_incorrect_multipart_installed_form(monkeypatch):
        monkeypatch.setattr("python_multipart.__version__", "0.0.12")
        with warnings.catch_warnings(record=True):
            warnings.simplefilter("always")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Oct 27 21:46:26 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

                    validateBannedCharacters(
                            problems, "mirrors.mirror.id", Severity.WARNING, mirror.getId(), null, ILLEGAL_REPO_ID_CHARS);
    
                    if ("local".equals(mirror.getId())) {
                        addViolation(
                                problems,
                                Severity.WARNING,
                                "mirrors.mirror.id",
                                null,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  9. tests/test_deprecated_responses.py

    import warnings
    
    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.responses import ORJSONResponse, UJSONResponse
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    # ORJSON
    
    
    def _make_orjson_app() -> FastAPI:
        with warnings.catch_warnings():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:34:59 GMT 2026
    - 2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

                  restoreInterruptIfIsInterruptedException(e);
                  logger.get().log(WARNING, "thrown by close()", e);
                }
              });
        } catch (RejectedExecutionException e) {
          if (logger.get().isLoggable(WARNING)) {
            logger
                .get()
                .log(
                    WARNING,
                    String.format("while submitting close to %s; will close inline", executor),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
Back to Top