Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1781 - 1790 of 7,967 for aclass (0.05 sec)

  1. docs_src/extra_models/tutorial001.py

    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserIn(BaseModel):
        username: str
        password: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    class UserOut(BaseModel):
        username: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    class UserInDB(BaseModel):
        username: str
        hashed_password: str
        email: EmailStr
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 943 bytes
    - Viewed (0)
  2. docs/em/docs/project-generation.md

        * **๐Ÿ‹๏ธ**: ๐Ÿคš ๐Ÿญ-๐Ÿ”œ ๐Ÿ“Ÿ. โฎ๏ธ ๐Ÿง ๐ŸŽ“ ๐Ÿงพ.
        * **๐Ÿฉ-โš“๏ธ**: โš“๏ธ ๐Ÿ”› (&amp; ๐Ÿ• ๐Ÿ”— โฎ๏ธ) ๐Ÿ“‚ ๐Ÿฉ ๐Ÿ”—: <a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank">๐Ÿ—„</a> &amp; <a href="https://json-schema.org/" class="external-link" target="_blank">๐ŸŽป ๐Ÿ”—</a>.
        * <a href="https://fastapi.tiangolo.com/features/" class="external-link" target="_blank">**๐Ÿ“š ๐ŸŽ โš’**</a> ๐Ÿ”Œ ๐Ÿง ๐Ÿ”ฌ, ๐Ÿ› ๏ธ, ๐ŸŽ“ ๐Ÿงพ, ๐Ÿค โฎ๏ธ Oauth2๏ธโƒฃ ๐Ÿฅ™ ๐Ÿค, โ™’๏ธ.
    * **๐Ÿ” ๐Ÿ”** ๐Ÿ” ๐Ÿ”ข.
    * **๐Ÿฅ™ ๐Ÿค** ๐Ÿค.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. docs_src/extra_models/tutorial002.py

    from fastapi import FastAPI
    from pydantic import BaseModel, EmailStr
    
    app = FastAPI()
    
    
    class UserBase(BaseModel):
        username: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    class UserIn(UserBase):
        password: str
    
    
    class UserOut(UserBase):
        pass
    
    
    class UserInDB(UserBase):
        hashed_password: str
    
    
    def fake_password_hasher(raw_password: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 824 bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/EqualsTester.java

                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
       * Since it is a private inner class, the invoker can never pass in an instance to the tester
       */
      private enum NotAnInstance {
        EQUAL_TO_NOTHING;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java

        /**
         * Performs a collection lookup for given typed components.
         *
         * @param type The component type.
         * @return The map of components. The map may be empty if no components found.
         * @param <T> The component type.
         * @throws LookupException if there is some provisioning related issue.
         */
        @Nonnull
        <T> Map<String, T> lookupMap(Class<T> type);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. docs/en/docs/reference/templating.md

    # Templating - `Jinja2Templates`
    
    You can use the `Jinja2Templates` class to render Jinja templates.
    
    Read more about it in the [FastAPI docs for Templates](https://fastapi.tiangolo.com/advanced/templates/).
    
    You can import it directly from `fastapi.templating`:
    
    ```python
    from fastapi.templating import Jinja2Templates
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 365 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/StringsTest.java

        }
    
        assertThrows(IllegalArgumentException.class, () -> Strings.repeat("x", -1));
        assertThrows(
            ArrayIndexOutOfBoundsException.class, () -> Strings.repeat("12345678", (1 << 30) + 3));
      }
    
      @SuppressWarnings("InlineMeInliner") // test of method that doesn't just delegate
      public void testRepeat_null() {
        assertThrows(NullPointerException.class, () -> Strings.repeat(null, 5));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

                });
        future.get(10, SECONDS);
        assertThrows(RejectedExecutionException.class, () -> executor.execute(Runnables.doNothing()));
        latch.countDown();
        ExecutionException expected =
            assertThrows(ExecutionException.class, () -> first.get(10, SECONDS));
        assertThat(expected).hasCauseThat().isInstanceOf(RejectedExecutionException.class);
      }
    
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

      public void testSet_indexTooLow() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().set(-1, e3()));
        expectUnchanged();
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testSet_indexTooHigh() {
        int index = getNumElements();
        assertThrows(IndexOutOfBoundsException.class, () -> getList().set(index, e3()));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

              </association>
            </field>
          </fields>
        </class>
        <class>
          <name>PluginManagement</name>
          <version>4.0.0+</version>
          <superClass>PluginContainer</superClass>
          <description>Section for management of default plugin information for use in a group of POMs.
          </description>
        </class>
        <class>
          <name>Reporting</name>
          <version>4.0.0+</version>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
Back to top