Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 737 for warning1 (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_jsonable_encoder.py

        assert jsonable_encoder(subclass_model) == {"dt_field": "2019-01-01T08:00:00+00:00"}
    
    
    def test_json_encoder_error_with_pydanticv1():
        with warnings.catch_warnings():
            warnings.simplefilter("ignore", UserWarning)
            from pydantic import v1
    
        class ModelV1(v1.BaseModel):
            name: str
    
        data = ModelV1(name="test")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            assertEquals(0, collector.getProblems().size());
    
            collector.add(null, "MESSAGE1", -1, -1, null);
    
            Exception e2 = new Exception();
            collector.add(Severity.WARNING, null, 42, 127, e2);
    
            assertEquals(2, collector.getProblems().size());
    
            Problem p1 = collector.getProblems().get(0);
            assertEquals(Severity.ERROR, p1.getSeverity());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/body-fields.md

    ## Імпорт `Field` { #import-field }
    
    Спочатку вам потрібно імпортувати це:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning | Попередження
    
    Зверніть увагу, що `Field` імпортується безпосередньо з `pydantic`, а не з `fastapi`, як усе інше (`Query`, `Path`, `Body` тощо).
    
    ///
    
    ## Оголошення атрибутів моделі { #declare-model-attributes }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Jan 11 00:15:06 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/body-fields.md

    ## 匯入 `Field` { #import-field }
    
    首先,你需要匯入它:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning
    
    請注意,`Field` 是直接從 `pydantic` 匯入的,不像其他(如 `Query`、`Path`、`Body` 等)是從 `fastapi` 匯入。
    
    ///
    
    ## 宣告模型屬性 { #declare-model-attributes }
    
    接著你可以在模型屬性上使用 `Field`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/testing/SerializableTester.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests serialization and deserialization of an object, optionally asserting that the resulting
     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
     * serialization tests require more setup. This no-op behavior allows test authors to intersperse
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  6. tensorflow/c/eager/c_api.cc

          attr_name, static_cast<const char*>(value), length);
      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    void TFE_OpSetAttrInt(TFE_Op* op, const char* attr_name, int64_t value) {
      auto s = tensorflow::unwrap(op)->SetAttrInt(attr_name, value);
      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Nov 07 05:55:21 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/WarningResolutionListener.java

    package org.apache.maven.artifact.resolver;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.versioning.VersionRange;
    import org.codehaus.plexus.logging.Logger;
    
    /**
     * Send resolution warning events to the warning log.
     *
     */
    @Deprecated
    public class WarningResolutionListener implements ResolutionListener {
        private Logger logger;
    
        public WarningResolutionListener(Logger logger) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/body-fields.md

    ## Importe `Field` { #import-field }
    
    Primeiro, você tem que importá-lo:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | Atenção
    
    Note que `Field` é importado diretamente do `pydantic`, não do `fastapi` como todo o resto (`Query`, `Path`, `Body`, etc).
    
    ///
    
    ## Declare atributos do modelo { #declare-model-attributes }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ForwardingSet.java

     * methods to modify the behavior of the backing set as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSet} forward <b>indiscriminately</b> to the
     * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

                            messageBuilderFactory.builder().error(s).build());
                } else if (entry.getKey() == SecDispatcher.ValidationResponse.Level.WARNING) {
                    consumer = s -> context.logger.warn(
                            messageBuilderFactory.builder().warning(s).build());
                }
                for (String line : entry.getValue()) {
                    consumer.accept(indent + "  " + line);
                }
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top