Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4951 - 4960 of 7,141 for clase (0.08 seconds)

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

  1. tests/test_custom_schema_fields.py

    from typing import Annotated, Optional
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, WithJsonSchema
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
    
        description: Annotated[
            Optional[str], WithJsonSchema({"type": ["string", "null"]})
        ] = None
    
        model_config = {
            "json_schema_extra": {
                "x-something-internal": {"level": 4},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. tests/test_validate_response_dataclass.py

    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import ResponseValidationError
    from fastapi.testclient import TestClient
    from pydantic.dataclasses import dataclass
    
    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        price: Optional[float] = None
        owner_ids: Optional[list[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChange.groovy

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import groovy.transform.Immutable
    import groovy.transform.ToString
    
    @Immutable @ToString
    class AcceptedApiChange {
        String type
        String member
        String acceptation
        List<String> changes
    
        ApiChange toApiChange() {
            return new ApiChange(type, member, changes ?: [])
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 952 bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/common/JvmCategory.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package common
    
    enum class JvmCategory(
        override val vendor: JvmVendor,
        override val version: JvmVersion,
    ) : Jvm {
        MIN_VERSION(JvmVendor.OPENJDK, JvmVersion.JAVA_17),
        MAX_LTS_VERSION(JvmVendor.OPENJDK, JvmVersion.JAVA_21),
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 13:00:26 GMT 2025
    - 994 bytes
    - Click Count (0)
  5. docs/es/llm-prompt.md

    * bug: bug
    * docs: documentación (do not translate to "documentos")
    * cheat sheet: cheat sheet (do not translate to "chuleta")
    * key (as in key-value pair, dictionary key): clave
    * array (as in JSON array): array
    * API key: API key (do not translate to "clave API")
    * 100% test coverage: cobertura de tests del 100%
    * back and forth: de un lado a otro
    * I/O (as in "input and output"): I/O (do not translate to "E/S")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/index.md

    また、将来的にリファレンスとして機能するように構築されています。
    
    従って、後でこのチュートリアルに戻ってきて必要なものを確認できます。
    
    ## コードを実行する
    
    すべてのコードブロックをコピーして直接使用できます(実際にテストされたPythonファイルです)。
    
    いずれかの例を実行するには、コードを `main.py`ファイルにコピーし、` uvicorn`を次のように起動します:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

     * ObjectCountHashMap<E>}.
     *
     * <p>For serialization to work, the subclass must specify explicit {@code readObject} and {@code
     * writeObject} methods.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    abstract class AbstractMapBasedMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
        implements Serializable {
    
      transient ObjectCountHashMap<E> backingMap;
      transient long size;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            }
        }
    
        @Test
        @DisplayName("Test toString contains proper class name")
        void testToStringFormat() {
            String str = response.toString();
    
            // Should start with the class name
            assertTrue(str.startsWith("Trans2SetFileInformationResponse["));
    
            // Should end with closing bracket
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/curl/CurlTest.java

                switch (method) {
                case GET:
                    hasGet = true;
                    break;
                case POST:
                    hasPost = true;
                    break;
                case PUT:
                    hasPut = true;
                    break;
                case DELETE:
                    hasDelete = true;
                    break;
                case HEAD:
                    hasHead = true;
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Comparators.java

     * majority of usages of {@code Ordering} can be written using only built-in JDK APIs. This class is
     * intended to "fill the gap" and provide those features of {@code Ordering} not already provided by
     * the JDK.
     *
     * @since 21.0
     * @author Louis Wasserman
     */
    @GwtCompatible
    public final class Comparators {
      private Comparators() {}
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top