Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 1,005 for warning (0.07 seconds)

  1. tests/test_tutorial/test_sql_databases/test_tutorial001.py

            yield c
        # Clean up connection explicitly to avoid resource warning
        mod.engine.dispose()
    
    
    def test_crud_app(client: TestClient):
        # TODO: this warns that SQLModel.from_orm is deprecated in Pydantic v1, refactor
        # this if using obj.model_validate becomes independent of Pydantic v2
        with warnings.catch_warnings(record=True):
            warnings.simplefilter("always")
            # No heroes before creating
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 14K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/header-params.md

    {* ../../docs_src/header_params/tutorial002_an_py310.py hl[10] *}
    
    /// warning | Atenção
    
    Antes de definir `convert_underscores` como `False`, lembre-se de que alguns proxies e servidores HTTP não permitem o uso de cabeçalhos com sublinhados.
    
    ///
    
    ## Cabeçalhos duplicados { #duplicate-headers }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        @SuppressWarnings("EffectivelyPrivate")
        public final void tearDown() throws IOException {
          if (!fileThreadLocal.get().delete()) {
            logger.warning("Unable to delete file: " + fileThreadLocal.get());
          }
          fileThreadLocal.remove();
        }
      }
    
      private static class FileByteSourceFactory extends FileFactory implements ByteSourceFactory {
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java

    import org.apache.maven.model.Plugin;
    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    import org.eclipse.aether.artifact.Artifact;
    
    /**
     * Manages the class realms used by Maven. <strong>Warning:</strong> This is an internal utility interface that is only
     * public for technical reasons, it is not part of the public API. In particular, this interface can be changed or
     * deleted without prior notice.
     *
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         */
        List<Profile> getActiveExternalProfiles();
    
        /**
         * Gets the problems that were encountered during the model building. Note that only problems of severity
         * {@link ModelProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
         * the model builder to fail with a {@link ModelBuildingException}.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java

    @Deprecated(since = "4.0.0")
    public interface ModelProblem {
    
        /**
         * The different severity levels for a problem, in decreasing order.
         */
        enum Severity {
            FATAL, //
            ERROR, //
            WARNING //
        }
    
        /**
         * Version
         */
        enum Version {
            // based on ModeBuildingResult.validationLevel
            BASE,
            V20,
            V30,
            V31,
            V40,
            V41
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/async-tests.md

    response = client.get('/')
    ```
    
    ...that we used to make our requests with the `TestClient`.
    
    /// tip
    
    Note that we're using async/await with the new `AsyncClient` - the request is asynchronous.
    
    ///
    
    /// warning
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/path-operation-configuration.md

    # 路径操作配置
    
    *路径操作装饰器*支持多种配置参数。
    
    /// warning | 警告
    
    注意:以下参数应直接传递给**路径操作装饰器**,不能传递给*路径操作函数*。
    
    ///
    
    ## `status_code` 状态码
    
    `status_code` 用于定义*路径操作*响应中的 HTTP 状态码。
    
    可以直接传递 `int` 代码, 比如 `404`。
    
    如果记不住数字码的涵义,也可以用 `status` 的快捷常量:
    
    {* ../../docs_src/path_operation_configuration/tutorial001.py hl[3,17] *}
    
    状态码在响应中使用,并会被添加到 OpenAPI 概图。
    
    /// note | 技术细节
    
    也可以使用 `from starlette import status` 导入状态码。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            final List<ProfileActivationException> errors = new ArrayList<>();
    
            List<Profile> profiles = profileSelector.getActiveProfiles(profilesById.values(), context, req -> {
                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    errors.add(new ProfileActivationException(req.getMessage(), req.getException()));
                }
            });
    
            if (!errors.isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

     * artifact and does not contain any runtime specific data. The cache must not be used for descriptors that hold runtime
     * data like the plugin realm. <strong>Warning:</strong> This is an internal utility interface that is only public for
     * technical reasons, it is not part of the public API. In particular, this interface can be changed or deleted without
     * prior notice.
     *
     * @since 3.0
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
Back to Top