Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 954 for NONE (0.01 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java

     * Generates release notes file from markdown to HTML
     */
    @CacheableTask
    public abstract class RenderMarkdown extends DefaultTask {
        /**
         * The source markdown file.
         */
        @PathSensitive(PathSensitivity.NONE)
        @InputFile
        public abstract RegularFileProperty getMarkdownFile();
    
        /**
         * The rendered HTML file
         */
        @OutputFile
        public abstract RegularFileProperty getDestinationFile();
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/extra-models.md

    以如下方式调用:
    
    ```Python
    print(user_dict)
    ```
    
    输出的就是 Python **字典**:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### 解包 `dict`
    
    把**字典** `user_dict` 以 `**user_dict` 形式传递给函数(或类),Python 会执行**解包**操作。它会把 `user_dict` 的键和值作为关键字参数直接传递。
    
    因此,接着上面的 `user_dict` 继续编写如下代码:
    
    ```Python
    UserInDB(**user_dict)
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial004.py

        response = client.get("/items/42")
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "loc": ["query", "q"],
                    "input": None,
                    "msg": "Field required",
                    "type": "missing",
                }
            ]
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. cmd/kms-router.go

    		kmsRouter.Methods(http.MethodGet).Path(version + "/key/status").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSKeyStatusHandler)))
    	}
    
    	// If none of the routes match add default error handler routes
    	kmsRouter.NotFoundHandler = httpTraceAll(errorResponseHandler)
    	kmsRouter.MethodNotAllowedHandler = httpTraceAll(methodNotAllowedHandler("KMS"))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 07 23:55:37 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  5. docs/fr/docs/python-types.md

    {*../../docs_src/python_types/tutorial009.py hl[1,4] *}
    
    Utiliser `Optional[str]` plutôt que `str` permettra à l'éditeur de vous aider à détecter les erreurs où vous supposeriez qu'une valeur est toujours de type `str`, alors qu'elle pourrait aussi être `None`.
    
    #### Types génériques
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 10K bytes
    - Click Count (0)
  6. docs/ru/docs/how-to/custom-docs-ui-assets.md

    ### Отключить автоматическую документацию { #disable-the-automatic-docs }
    
    Первый шаг — отключить автоматическую документацию, так как по умолчанию она использует стандартный CDN.
    
    Чтобы отключить её, установите их URL в значение `None` при создании вашего приложения `FastAPI`:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py39.py hl[8] *}
    
    ### Подключить пользовательскую документацию { #include-the-custom-docs }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java

         */
        Map<String, String> getUserProperties();
    
        /**
         * Gets the base directory of the current project (if any).
         *
         * @return The base directory of the current project or {@code null} if none.
         */
        File getProjectDirectory();
    
        /**
         * Gets current calculated project properties
         *
         * @return The project properties, never {@code null}.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_body_updates/test_tutorial002.py

    
    def test_get(client: TestClient):
        response = client.get("/items/baz")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "Baz",
            "description": None,
            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    def test_patch_all(client: TestClient):
        response = client.patch(
            "/items/foo",
            json={
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/body.md

    クエリパラメータの宣言と同様に、モデル属性がデフォルト値をもつとき、必須な属性ではなくなります。それ以外は必須になります。オプショナルな属性にしたい場合は `None` を使用してください。
    
    例えば、上記のモデルは以下の様なJSON「`オブジェクト`」(もしくはPythonの `dict` ) を宣言しています:
    
    ```JSON
    {
        "name": "Foo",
        "description": "An optional description",
        "price": 45.2,
        "tax": 3.5
    }
    ```
    
    ...`description` と `tax` はオプショナル (デフォルト値は `None`) なので、以下のJSON「`オブジェクト`」も有効です:
    
    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Jul 26 10:48:11 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

                "Command line option for the performance test task to enable profiling. " +
                    "For example `async-profiler`, `async-profiler-heap`, `async-profiler-wall`, `async-profiler-all` or `jfr`. Use `none` for benchmarking only.",
        )
    }
    
    object AdHocPerformanceScenarioLinux : AdHocPerformanceScenario(Os.LINUX)
    
    object AdHocPerformanceScenarioWindows : AdHocPerformanceScenario(Os.WINDOWS)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 5.5K bytes
    - Click Count (0)
Back to Top