Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 3,335 for None (0.02 seconds)

  1. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial005.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
    - 6.6K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCache.java

         * @param version The version of the cache record, must not be {@code null}.
         * @param tag The tag of the cache record, must not be {@code null}.
         * @return The requested data or {@code null} if none was present in the cache.
         */
        Object get(String groupId, String artifactId, String version, String tag);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

            this.includesDependencies = includesDependencies;
        }
    
        @Override
        public String getLanguage() {
            if (language == null) {
                return "none";
            }
    
            return language;
        }
    
        public void setLanguage(final String language) {
            this.language = language;
        }
    
        @Override
        @Deprecated
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. helm-releases/minio-5.0.6.tgz

    buckets: # # Name of the bucket # - name: bucket1 # # Policy to be set on the # # bucket [none|download|upload|public] # policy: none # # Purge if bucket exists already # purge: false # # set versioning for # # bucket [true|false] # versioning: false # # set objectlocking for # # bucket [true|false] NOTE: versioning is enabled by default if you use locking # objectlocking: false # - name: bucket2 # policy: none # purge: false # versioning: true # # set objectlocking for # # bucket [true|false] NOTE:...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 13 06:53:06 GMT 2023
    - 20.3K bytes
    - Click Count (0)
  9. 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)
  10. cmd/object-handlers_test.go

    			content:    "hello",
    			partNumber: "1",
    			fault:      None,
    			accessKey:  credentials.AccessKey,
    			secretKey:  credentials.SecretKey,
    
    			expectedAPIError: -1,
    		},
    		// Case where part number is invalid.
    		1: {
    			objectName: testObject,
    			content:    "hello",
    			partNumber: "9999999999999999999",
    			fault:      None,
    			accessKey:  credentials.AccessKey,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
Back to Top