Search Options

Results per page
Sort
Preferred Languages
Advance

Results 6711 - 6720 of 6,864 for classe (0.16 sec)

  1. docs/zh/docs/tutorial/handling-errors.md

    /// warning | 警告
    
    如果您觉得现在还用不到以下技术细节,可以先跳过下面的内容。
    
    ///
    
    `RequestValidationError` 是 Pydantic 的 <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a> 的子类。
    
    **FastAPI** 调用的就是 `RequestValidationError` 类,因此,如果在 `response_model` 中使用 Pydantic 模型,且数据有错误时,在日志中就会看到这个错误。
    
    但客户端或用户看不到这个错误。反之,客户端接收到的是 HTTP 状态码为 `500` 的「内部服务器错误」。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. tests/test_schema_extra_examples.py

    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, ConfigDict
    
    
    def create_app():
        app = FastAPI()
    
        class Item(BaseModel):
            data: str
    
            model_config = ConfigDict(
                json_schema_extra={"example": {"data": "Data in schema_extra"}}
            )
    
        @app.post("/schema_extra/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsScheduledJobCQ.java

    import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder.FilterFunctionBuilder;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public abstract class BsScheduledJobCQ extends EsAbstractConditionQuery {
    
        protected static final Class<?> suppressUnusedImportLocalDateTime = LocalDateTime.class;
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsCrawlingInfoParamCA.java

    import org.opensearch.search.aggregations.metrics.TopHitsAggregationBuilder;
    import org.opensearch.search.aggregations.metrics.ValueCountAggregationBuilder;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public abstract class BsCrawlingInfoParamCA extends EsAbstractConditionAggregation {
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 28.8K bytes
    - Viewed (0)
  5. docs/bucket/replication/DESIGN.md

        },
        "MetaUsr": {
          "X-Amz-Replication-Status": "REPLICA",
          "content-type": "application/octet-stream",
          "etag": "8315e643ed6a5d7c9962fc0a8ef9c11f",
          "x-amz-storage-class": "STANDARD"
        },
    ...
    ```
    
    ### Additional replication metadata for DeleteMarker
    
    ```
    ...
     {
          "DelObj": {
          "ID": "u8H5pYQFRMKgkIgkpSKIkQ==",
          "MTime": 1631843124147668389,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.Test
    
    @Suppress("HttpUrlsUsage") // Don't warn if we should be using https://.
    open class HttpUrlJvmTest {
      val platform = PlatformRule()
    
      /** This one's ugly: the HttpUrl's host is non-empty, but the URI's host is null. */
      @Test
      fun hostContainsOnlyStrippedCharacters() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/index.md

    ## What is "Dependency Injection" { #what-is-dependency-injection }
    
    **"Dependency Injection"** means, in programming, that there is a way for your code (in this case, your *path operation functions*) to declare things that it requires to work and use: "dependencies".
    
    And then, that system (in this case **FastAPI**) will take care of doing whatever is needed to provide your code with those needed dependencies ("inject" the dependencies).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

    import java.util.Iterator;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Files#simplifyPath}.
     *
     * @author Pablo Bellver
     */
    @NullUnmarked
    public class FilesSimplifyPathTest extends TestCase {
    
      public void testSimplifyEmptyString() {
        assertEquals(".", simplifyPath(""));
      }
    
      public void testSimplifyDot() {
        assertEquals(".", simplifyPath("."));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

     * Serves as the foundation for configuration implementations in the jCIFS library.
     *
     * @author mbechler
     */
    public class BaseConfiguration implements Configuration {
    
        private static final Logger log = LoggerFactory.getLogger(BaseConfiguration.class);
        private static final Map<String, Integer> DEFAULT_BATCH_LIMITS = new HashMap<>();
    
        static {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/Stats.java

     *
     * <p><b>Java 8+ users:</b> If you are not using any of the variance statistics, you may wish to use
     * built-in JDK libraries instead of this class.
     *
     * @author Pete Gillin
     * @author Kevin Bourrillion
     * @since 20.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Stats implements Serializable {
    
      private final long count;
      private final double mean;
      private final double sumOfSquaresOfDeltas;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top