Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 3,776 for None (0.03 seconds)

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

  1. tests/test_tutorial/test_body/test_tutorial002.py

        )
        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
            "price": 50.5,
            "description": "Some Foo",
            "tax": None,
        }
    
    
    def test_post_with_no_data(client: TestClient):
        response = client.post("/items/", json={})
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  2. okhttp/api/android/okhttp.api

    public abstract interface class okhttp3/Authenticator {
    	public static final field Companion Lokhttp3/Authenticator$Companion;
    	public static final field JAVA_NET_AUTHENTICATOR Lokhttp3/Authenticator;
    	public static final field NONE Lokhttp3/Authenticator;
    	public abstract fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request;
    }
    
    public final class okhttp3/Authenticator$Companion {
    }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/OsddHelper.java

            if (!Constants.AUTO.equalsIgnoreCase(osddLinkEnabled)) {
                return false;
            }
    
            final String ssoType = fessConfig.getSsoType();
            return StringUtil.isBlank(ssoType) || Constants.NONE.equalsIgnoreCase(ssoType);
        }
    
        /**
         * Checks if the OpenSearch file exists.
         *
         * @return true if the OpenSearch file exists
         */
        public boolean hasOpenSearchFile() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/response-model.md

    レスポンスモデルには次のようにデフォルト値を設定できます:
    
    {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}
    
    * `description: Union[str, None] = None`(またはPython 3.10では `str | None = None`)はデフォルトが `None` です。
    * `tax: float = 10.5` はデフォルトが `10.5` です。
    * `tags: List[str] = []` はデフォルトが空のリスト `[]` です。
    
    ただし、それらが実際には保存されていない場合、結果から省略したいことがあります。
    
    例えば、NoSQLデータベースに多くのオプション属性を持つモデルがあるが、デフォルト値でいっぱいの非常に長いJSONレスポンスを送信したくない場合です。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleJars.groovy

    import org.gradle.work.DisableCachingByDefault
    
    @CompileStatic
    @DisableCachingByDefault(because = "Only filters the input artifact")
    abstract class FindGradleJars implements TransformAction<TransformParameters.None> {
    
        @PathSensitive(PathSensitivity.NAME_ONLY)
        @InputArtifact
        abstract Provider<FileSystemLocation> getArtifact()
    
        @Override
        void transform(TransformOutputs outputs) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  6. tests/test_get_request_body.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Product(BaseModel):
        name: str
        description: str = None  # type: ignore
        price: float
    
    
    @app.get("/product")
    async def create_item(product: Product):
        return product
    
    
    client = TestClient(app)
    
    
    def test_get_with_body():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/extra-models.md

    ```Python
    print(user_dict)
    ```
    
    obtendríamos un `dict` de Python con:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Desempaquetando un `dict` { #unpacking-a-dict }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. docs/es/docs/how-to/custom-docs-ui-assets.md

    ### Desactiva la documentación automática { #disable-the-automatic-docs }
    
    El primer paso es desactivar la documentación automática, ya que por defecto, esos usan el CDN por defecto.
    
    Para desactivarlos, establece sus URLs en `None` cuando crees tu aplicación de `FastAPI`:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py310.py hl[8] *}
    
    ### Incluye la documentación personalizada { #include-the-custom-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  9. docs/pt/docs/how-to/custom-docs-ui-assets.md

    ### Desativar a documentação automática { #disable-the-automatic-docs }
    
    O primeiro passo é desativar a documentação automática, pois por padrão, ela usa o CDN padrão.
    
    Para desativá-los, defina suas URLs como `None` ao criar sua aplicação FastAPI:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py310.py hl[8] *}
    
    ### Incluir a documentação personalizada { #include-the-custom-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/extra-models.md

    ```Python
    print(user_dict)
    ```
    
    şöyle bir Python `dict` elde ederiz:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Bir `dict`'i Unpack Etmek { #unpacking-a-dict }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 7.4K bytes
    - Click Count (0)
Back to Top