Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 671 - 680 of 954 for NONE (0.03 seconds)

  1. tests/test_tutorial/test_query_params_str_validations/test_tutorial015.py

        }
    
    
    def test_get_item_does_not_exist(client: TestClient):
        response = client.get("/items?id=isbn-nope")
        assert response.status_code == 200, response.text
        assert response.json() == {"id": "isbn-nope", "name": None}
    
    
    def test_get_invalid_item(client: TestClient):
        response = client.get("/items?id=wtf-yes")
        assert response.status_code == 422, response.text
        assert response.json() == snapshot(
            {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/response-model.md

    ## レスポンスモデルのエンコーディングパラメータ
    
    レスポンスモデルにはデフォルト値を設定することができます:
    
    {* ../../docs_src/response_model/tutorial004.py hl[11,13,14] *}
    
    * `description: str = None`は`None`がデフォルト値です。
    * `tax: float = 10.5`は`10.5`がデフォルト値です。
    * `tags: List[str] = []` は空のリスト(`[]`)がデフォルト値です。
    
    しかし、実際に保存されていない場合には結果からそれらを省略した方が良いかもしれません。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 9K bytes
    - Click Count (0)
  3. docs/es/docs/tutorial/extra-models.md

    ```Python
    print(user_dict)
    ```
    
    obtendremos un `dict` de Python con:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    #### Desempaquetando un `dict` { #unpacking-a-dict }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  4. docs/tr/docs/python-types.md

    #### `Optional`
    
    `Optional` bir değişkenin `str`gibi bir tipi olabileceğini ama isteğe bağlı olarak tipinin `None` olabileceğini belirtir:
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial009.py!}
    ```
    
    `str` yerine `Optional[str]` kullanmak editorün bu değerin her zaman `str` tipinde değil bazen `None` tipinde de olabileceğini belirtir ve hataları tespit etmemizde yardımcı olur.
    
    #### Generic tipler
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  5. tensorflow/api_template_v1.__init__.py

        _os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"):
      import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem
    
    # Lazy-load Keras v1.
    _tf_uses_legacy_keras = (
        _os.environ.get("TF_USE_LEGACY_KERAS", None) in ("true", "True", "1"))
    setattr(_current_module, "keras", _KerasLazyLoader(globals(), mode="v1"))
    _module_dir = _module_util.get_parent_dir_for_name("keras._tf_keras.keras")
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Oct 02 22:16:02 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleClasspath.groovy

    import org.gradle.work.DisableCachingByDefault
    
    @CompileStatic
    @DisableCachingByDefault(because = "Only filters the input artifact")
    abstract class FindGradleClasspath implements TransformAction<TransformParameters.None> {
    
        @PathSensitive(PathSensitivity.NAME_ONLY)
        @InputArtifact
        abstract Provider<FileSystemLocation> getArtifact()
    
        @Override
        void transform(TransformOutputs outputs) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 07 13:12:26 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java

         *
         * @param value The configuration value to preprocess, must not be {@code null}.
         * @param type The target type of the value, may be {@code null}.
         * @return The processed configuration value or {@code null} if none.
         * @throws BeanConfigurationException If an error occurred while preprocessing the value.
         */
        Object preprocessValue(String value, Class<?> type) throws BeanConfigurationException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/ExtractAndroidStudioTask.kt

        private val execOps: ExecOperations,
        private val fsOps: FileSystemOperations,
        private val fileOps: FileOperations
    ) : DefaultTask() {
        @get:InputFiles
        @get:PathSensitive(PathSensitivity.NONE)
        abstract val androidStudioRuntime: ConfigurableFileCollection
    
        @get:OutputDirectory
        abstract val outputDir: DirectoryProperty
    
        @TaskAction
        fun extract() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 19 08:02:04 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  9. tests/named_argument_test.go

    	AssertEqual(t, result3, namedUser)
    
    	var result4 NamedUser
    	if err := DB.Raw("SELECT * FROM named_users WHERE name1 = @name OR name2 = @name2 OR name3 = @name", sql.Named("name", "jinzhu-none"), sql.Named("name2", "jinzhu2")).Find(&result4).Error; err != nil {
    		t.Errorf("failed to update with named arg")
    	}
    
    	AssertEqual(t, result4, namedUser)
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Dec 21 11:50:00 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  10. impl/maven-core/src/site/apt/artifact-handlers.apt

    *--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
    | <<<pom>>>          |               | <= type>   | <= type>   | none      |                     |                       |
    *--------------------+---------------+------------+------------+-----------+---------------------+-----------------------+
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Nov 16 18:16:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top