Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4591 - 4600 of 8,559 for class1 (0.05 sec)

  1. tests/forward_reference_type.py

    from pydantic import BaseModel
    
    
    def forwardref_method(input: "ForwardRefModel") -> "ForwardRefModel":
        return ForwardRefModel(x=input.x + 1)
    
    
    class ForwardRefModel(BaseModel):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:23:14 UTC 2025
    - 196 bytes
    - Viewed (0)
  2. docs_src/request_form_models/tutorial001_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, Form
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
    
    
    @app.post("/login/")
    async def login(data: Annotated[FormData, Form()]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Sep 05 15:16:50 UTC 2024
    - 268 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/DynamicProperties.java

    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * The {@code DynamicProperties} class extends {@link Properties} to provide dynamic
     * loading and storing of properties from a file. It monitors the file for changes
     * and reloads the properties if the file is updated. This class is thread-safe and
     * ensures that the properties are always up-to-date.
     *
     * <p>Key Features:
     * <ul>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. docs/ja/docs/history-design-future.md

    すべての箇所で、すべての開発者に最高の開発体験を提供しました。
    
    ## 要件
    
    いくつかの代替手法を試したあと、私は<a href="https://docs.pydantic.dev/" class="external-link" target="_blank">**Pydantic**</a>の強みを利用することを決めました。
    
    そして、JSON Schemaに完全に準拠するようにしたり、制約宣言を定義するさまざまな方法をサポートしたり、いくつかのエディターでのテストに基づいてエディターのサポート (型チェック、自動補完) を改善するために貢献しました。
    
    開発中、もう1つの重要な鍵となる<a href="https://www.starlette.dev/" class="external-link" target="_blank">**Starlette**</a>、にも貢献しました。
    
    ## 開発
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/schema-extra-example.md

        * `Path()`
        * `Query()`
        * `Header()`
        * `Cookie()`
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

      @AndroidIncompatible // Reflection bug, or actual binary compatibility problem?
      public void testElementSetBridgeMethods() {
        for (Method m : TreeMultiset.class.getMethods()) {
          if (m.getName().equals("elementSet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
        }
        fail("No bridge method found");
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. docs_src/cookie_param_models/tutorial001_py310.py

    from fastapi import Cookie, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        session_id: str
        fatebook_tracker: str | None = None
        googall_tracker: str | None = None
    
    
    @app.get("/items/")
    async def read_items(cookies: Cookies = Cookie()):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 303 bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

        assertThat(buffer.readUtf8()).isEqualTo(expected)
      }
    
      @Test
      fun streamingPartHasNoLength() {
        class StreamingBody(
          private val body: String,
        ) : RequestBody() {
          override fun contentType(): MediaType? = null
    
          @Throws(IOException::class)
          override fun writeTo(sink: BufferedSink) {
            sink.writeUtf8(body)
          }
        }
    
        val expected =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

     * under the License.
     */
    package org.apache.maven.plugin;
    
    import java.util.Map;
    
    import org.apache.maven.plugin.logging.Log;
    import org.apache.maven.plugin.logging.SystemStreamLog;
    
    /**
     * Abstract class to provide most of the infrastructure required to implement a <code>Mojo</code> except for
     * the execute method.<br>
     * The implementation should have a <code>Mojo</code> annotation with the name of the goal:
     * <pre>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/AbstractNetwork.java

    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This class provides a skeletal implementation of {@link Network}. It is recommended to extend
     * this class rather than implement {@link Network} directly.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top