Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 177 for SubClass (0.08 seconds)

  1. docs/tr/docs/tutorial/response-model.md

    Araçlar da memnun olur; çünkü hem `RedirectResponse` hem `JSONResponse`, `Response`’un subclass’ıdır. Yani type annotation doğrudur.
    
    ### Bir Response Subclass’ını Annotate Etmek { #annotate-a-response-subclass }
    
    Type annotation içinde `Response`’un bir subclass’ını da kullanabilirsiniz:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17K bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/response-model.md

    І інструменти також будуть задоволені, бо і `RedirectResponse`, і `JSONResponse` є підкласами `Response`, отже анотація типу коректна.
    
    ### Анотувати підклас Response { #annotate-a-response-subclass }
    
    Ви також можете використати підклас `Response` в анотації типу:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 25.2K bytes
    - Click Count (0)
  3. docs/ru/docs/tutorial/response-model.md

    И инструменты тоже будут довольны, потому что и `RedirectResponse`, и `JSONResponse` являются подклассами `Response`, так что аннотация типа корректна.
    
    ### Аннотировать подкласс Response { #annotate-a-response-subclass }
    
    Вы также можете использовать подкласс `Response` в аннотации типа:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 25.5K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/response-model.md

    Und Tools werden auch glücklich sein, weil sowohl `RedirectResponse` als auch `JSONResponse` Unterklassen von `Response` sind, die Typannotation ist daher korrekt.
    
    ### Eine Unterklasse von Response annotieren { #annotate-a-response-subclass }
    
    Sie können auch eine Unterklasse von `Response` in der Typannotation verwenden.
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/response-model.md

    이 간단한 경우는 반환 타입 어노테이션이 `Response` 클래스(또는 그 서브클래스)이기 때문에 FastAPI에서 자동으로 처리됩니다.
    
    그리고 `RedirectResponse`와 `JSONResponse`는 모두 `Response`의 서브클래스이므로, 타입 어노테이션이 올바르기 때문에 도구들도 만족합니다.
    
    ### Response 서브클래스 어노테이션 { #annotate-a-response-subclass }
    
    타입 어노테이션에 `Response`의 서브클래스를 사용할 수도 있습니다:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    이는 `RedirectResponse`가 `Response`의 서브클래스이기 때문에 동작하며, FastAPI가 이 간단한 경우를 자동으로 처리합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  6. docs/ko/docs/_llm-test.md

    * event handler
    * exception handler
    * 처리하다
    
    * model
    * Pydantic model
    * data model
    * database model
    * form model
    * model object
    
    * class
    * base class
    * parent class
    * subclass
    * child class
    * sibling class
    * class method
    
    * header
    * headers
    * authorization header
    * `Authorization` header
    * forwarded header
    
    * dependency injection system
    * dependency
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/response-model.md

    Y las herramientas también estarán felices porque tanto `RedirectResponse` como `JSONResponse` son subclases de `Response`, por lo que la anotación del tipo es correcta.
    
    ### Anotar una Subclase de Response { #annotate-a-response-subclass }
    
    También puedes usar una subclase de `Response` en la anotación del tipo:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        return (Segment<K, V, E, S>[]) new Segment<?, ?, ?, ?>[ssize];
      }
    
      // Inner Classes
    
      /**
       * Segments are specialized versions of hash tables. This subclass inherits from ReentrantLock
       * opportunistically, just to simplify some locking and avoid separate construction.
       */
      @SuppressWarnings("serial") // This class is never serialized.
      abstract static class Segment<
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/response-model.md

    Et les outils seront également satisfaits car `RedirectResponse` et `JSONResponse` sont des sous-classes de `Response`, donc l'annotation de type est correcte.
    
    ### Annoter une sous-classe de Response { #annotate-a-response-subclass }
    
    Vous pouvez aussi utiliser une sous-classe de `Response` dans l'annotation de type :
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 18.1K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/response-model.md

    这个简单场景 FastAPI 会自动处理,因为返回类型注解是 `Response`(或其子类)。
    
    工具也会满意,因为 `RedirectResponse` 和 `JSONResponse` 都是 `Response` 的子类,所以类型注解是正确的。
    
    ### 注解 Response 的子类 { #annotate-a-response-subclass }
    
    你也可以在类型注解中使用 `Response` 的子类:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    这同样可行,因为 `RedirectResponse` 是 `Response` 的子类,FastAPI 会自动处理这个简单场景。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 14.5K bytes
    - Click Count (0)
Back to Top