Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 376 for constants (0.04 seconds)

  1. docs/es/docs/tutorial/extra-models.md

        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
    )
    ```
    
    #### Un modelo Pydantic a partir del contenido de otro { #a-pydantic-model-from-the-contents-of-another }
    
    Como en el ejemplo anterior obtuvimos `user_dict` de `user_in.dict()`, este código:
    
    ```Python
    user_dict = user_in.dict()
    UserInDB(**user_dict)
    ```
    
    sería equivalente a:
    
    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)
  2. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Internamente, `open("./somefile.txt")` crea un objeto llamado "Context Manager".
    
    Cuando el bloque `with` termina, se asegura de cerrar el archivo, incluso si hubo excepciones.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/cookie-param-models.md

    特定の(あまり一般的ではないかもしれない)ケースで、受け付けるクッキーを**制限**する必要があるかもしれません。
    
    あなたのAPIは独自の <abbr title="念のためですが、これはジョークです。クッキー同意とは関係ありませんが、APIでさえ不適切なクッキーを拒否できるとは愉快ですね。クッキーでも食べてください。🍪 (原文: This is a joke, just in case. It has nothing to do with cookie consents, but it's funny that even the API can now reject the poor cookies. Have a cookie. 🍪)">クッキー同意</abbr> を管理する能力を持っています。 🤪🍪
    
    Pydanticのモデルの Configuration を利用して、 `extra` フィールドを `forbid` とすることができます。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Feb 28 14:21:27 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    例如,<a href="https://docs.python.org/zh-cn/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">你可以使用`with`读取文件</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    在底层,`open("./somefile.txt")`创建了一个被称为"上下文管理器"的对象。
    
    当 `with` 代码块结束时,它会确保关闭文件,即使发生了异常也是如此。
    
    当你使用 `yield` 创建一个依赖项时,**FastAPI** 会在内部将其转换为上下文管理器,并与其他相关工具结合使用。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 11.3K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial013_an_py39.py hl[9] *}
    
    /// note
    
    Keep in mind that in this case, FastAPI won't check the contents of the list.
    
    For example, `list[int]` would check (and document) that the contents of the list are integers. But `list` alone wouldn't.
    
    ///
    
    ## Declare more metadata { #declare-more-metadata }
    
    You can add more information about the parameter.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  6. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    Given these constraints, we cannot always follow best practices.  This ADR proposes the way we should handle the use of Provider APIs in the gradle/gradle codebase.
    
    ## Decision
    
    ### Types of properties that should not use lazy types
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Oct 15 20:00:57 GMT 2024
    - 10K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                            versionExpressionSeverity,
                            Version.V20,
                            "version",
                            null,
                            "must be a constant version but is '" + m.getVersion() + "'.",
                            m);
                }
    
                Build build = m.getBuild();
                if (build != null) {
                    for (Plugin p : build.getPlugins()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                int hash = (auth.getUsername() + auth.getPassword()).hashCode();
                buffer.append(hash).append('@');
            }
    
            // consider the URL (instead of the id) as this most closely relates to the contents in the repo
            buffer.append(repository.getUrl());
    
            return buffer.toString();
        }
    
        private void writeLastUpdated(File touchfile, String key, String error) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. README.md

    #### *Try your first TensorFlow program*
    
    ```shell
    $ python
    ```
    
    ```python
    >>> import tensorflow as tf
    >>> tf.add(1, 2).numpy()
    3
    >>> hello = tf.constant('Hello, TensorFlow!')
    >>> hello.numpy()
    b'Hello, TensorFlow!'
    ```
    
    For more examples, see the
    [TensorFlow Tutorials](https://www.tensorflow.org/tutorials/).
    
    ## Contribution guidelines
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Jul 18 14:09:03 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                        Files.copy(file.toPath(), zipOutput)
                        zipOutput.closeEntry()
                    } catch (e: IOException) {
                        throw GradleException("Error copying file contents to zip. File: " + file.toPath(), e)
                    }
                }
            }
        }
    
        private
        fun zip(destZip: File, srcDir: File) {
            val srcPath = srcDir.toPath()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 11:43:49 GMT 2025
    - 12.5K bytes
    - Click Count (1)
Back to Top