Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 7,721 for class2 (0.05 sec)

  1. tests/test_validate_response_recursive/app_pv1.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class RecursiveItem(BaseModel):
        sub_items: List["RecursiveItem"] = []
        name: str
    
    
    RecursiveItem.update_forward_refs()
    
    
    class RecursiveSubitemInSubmodel(BaseModel):
        sub_items2: List["RecursiveItemViaSubmodel"] = []
        name: str
    
    
    class RecursiveItemViaSubmodel(BaseModel):
        sub_items1: List[RecursiveSubitemInSubmodel] = []
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/PropertyNotFoundRuntimeException.java

    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * プロパティが見つからなかった場合にスローされる例外です。
     *
     * @author higa
     *
     */
    public class PropertyNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -5177019197796206774L;
    
        private final Class<?> targetClass;
    
        private final String propertyName;
    
        /**
         * {@link PropertyNotFoundRuntimeException}を返します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. docs/pt/docs/how-to/testing-database.md

    Aqui tem um mini <a href="https://sqlmodel.tiangolo.com/tutorial/fastapi/" class="external-link" target="_blank">tutorial de como usar SQLModel com FastAPI</a>. ✨
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 18 12:04:04 UTC 2024
    - 547 bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/first-steps.md

    ```Python hl_lines="1"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `FastAPI` ist eine Python-Klasse, die die gesamte Funktionalität für Ihre API bereitstellt.
    
    /// note | "Technische Details"
    
    `FastAPI`  ist eine Klasse, die direkt von `Starlette` erbt.
    
    Sie können alle <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a>-Funktionalitäten auch mit `FastAPI` nutzen.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. docs/nl/docs/features.md

    * <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank"><strong>Swagger UI</strong></a>, met interactieve interface, maakt het mogelijk je API rechtstreeks vanuit de browser aan te roepen en te testen.
    
    ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-03-swagger-02.png)
    
    * Alternatieve API-documentatie met <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank"><strong>ReDoc</strong></a>.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 03 13:50:38 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. docs/ru/docs/project-generation.md

        * **Стандартизированный**: Основан на открытых стандартах API (<a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank">OpenAPI</a> и <a href="https://json-schema.org/" class="external-link" target="_blank">JSON Schema</a>) и полностью совместим с ними.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RequestTest.kt

            .url("https://square.com")
            .tag(Any::class.java, objectTag)
            .tag(UUID::class.java, uuidTag)
            .tag(String::class.java, stringTag)
            .tag(Long::class.javaObjectType, longTag)
            .build()
        assertThat(request.tag()).isSameAs(objectTag)
        assertThat(request.tag(Any::class.java)).isSameAs(objectTag)
        assertThat(request.tag(UUID::class.java)).isSameAs(uuidTag)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link MathPreconditions}.
     *
     * @author Ben Yu
     */
    @GwtCompatible
    public class MathPreconditionsTest extends TestCase {
    
      public void testCheckPositive_zeroInt() {
        assertThrows(IllegalArgumentException.class, () -> MathPreconditions.checkPositive("int", 0));
      }
    
      public void testCheckPositive_maxInt() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. fastapi/openapi/utils.py

                else:
                    # It would probably make more sense for all response classes to have an
                    # explicit default status_code, and to extract it from them, instead of
                    # doing this inspection tricks, that would probably be in the future
                    # TODO: probably make status_code a default class attribute for all
                    # responses in Starlette
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. refactorings/CharMatcherRewrite.java

     * methods.
     */
    public class CharMatcherRewrite {
      class Whitespace {
        @BeforeTemplate
        CharMatcher before() {
          return CharMatcher.WHITESPACE;
        }
    
        @AfterTemplate
        CharMatcher after() {
          return CharMatcher.whitespace();
        }
      }
    
      class BreakingWhitespace {
        @BeforeTemplate
        CharMatcher before() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 28 19:03:28 UTC 2018
    - 3.5K bytes
    - Viewed (0)
Back to top