Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 5,293 for class (0.02 seconds)

  1. docs/ko/docs/advanced/wsgi.md

    이제 `/v1/` 경로에 있는 모든 요청은 Flask 응용 프로그램에서 처리됩니다.
    
    그리고 나머지는 **FastAPI**에 의해 처리됩니다.
    
    실행하면 <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a>으로 이동해서 Flask의 응답을 볼 수 있습니다:
    
    ```txt
    Hello, World from Flask!
    ```
    
    그리고 다음으로 이동하면 <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> Flask의 응답을 볼 수 있습니다:
    
    ```JSON
    {
        "message": "Hello World"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java

    import org.gradle.api.artifacts.dsl.DependencyHandler;
    import org.gradle.api.file.ConfigurableFileCollection;
    import org.gradle.api.tasks.CacheableTask;
    
    import java.lang.reflect.Field;
    
    @CacheableTask
    public abstract class JapicmpTaskWithKotlin extends JapicmpTask {
    
        public JapicmpTaskWithKotlin() {
            super();
            addKotlinCompilerToJapicmpClasspath();
            getMaxWorkerHeap().convention("1g");
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
              .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException)
              .put(SomeError.class, e -> e instanceof SomeError)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

        socket?.closeQuietly()
        serverSocket?.closeQuietly()
      }
    
      override fun toString(): String = "MockHttp2Peer[$port]"
    
      private class OutFrame(
        val sequence: Int,
        val start: Long,
        val truncated: Boolean,
      )
    
      class InFrame(
        val sequence: Int,
        val reader: Http2Reader,
      ) : Http2Reader.Handler {
        @JvmField var type = -1
        var clearPrevious = false
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. tests/test_request_params/test_form/test_list.py

    # Without aliases
    
    
    @app.post("/required-list-str", operation_id="required_list_str")
    async def read_required_list_str(p: Annotated[list[str], Form()]):
        return {"p": p}
    
    
    class FormModelRequiredListStr(BaseModel):
        p: list[str]
    
    
    @app.post("/model-required-list-str", operation_id="model_required_list_str")
    def read_model_required_list_str(p: Annotated[FormModelRequiredListStr, Form()]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:31:34 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

         */
        map.put(Integer.class, new Integer(5));
        assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));
        // Won't compile: map.put(String.class, "x");
      }
    
      public void testPutAndGetInstance() {
        assertThat(map.putInstance(Integer.class, new Integer(5))).isNull();
    
        Integer oldValue = map.putInstance(Integer.class, new Integer(7));
        assertEquals(5, (int) oldValue);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. docs/en/docs/fastapi-people.md

    ## Creator
    
    Hey! 👋
    
    This is me:
    
    <div class="user-list user-list-center">
    {% for user in people.maintainers %}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Jan 28 20:34:56 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        shouldFail(SubclassThatFailsToThrowForStatic.class);
      }
    
      private static class SubclassThatTriesToOverrideBadStaticMethod
          extends ClassThatFailsToThrowForStatic {
        static void staticOneArg(String unused) {}
      }
    
      public void testSubclassThatTriesToOverrideBadStaticMethod() {
        shouldFail(SubclassThatTriesToOverrideBadStaticMethod.class);
      }
    
      private static final class HardToCreate {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 47.8K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionSerializationEqualTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SERIALIZABLE)
      /*
       * As the class docs say, this test only makes sense for collections that define equals().
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. docs_src/security/tutorial003_an_py310.py

    def fake_hash_password(password: str):
        return "fakehashed" + password
    
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top