Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for warns (0.03 sec)

  1. tests/test_schema_extra_examples.py

        ):
            return item_id
    
        with pytest.warns(DeprecationWarning):
    
            @app.get("/path_example_examples/{item_id}")
            def path_example_examples(
                item_id: str = Path(
                    example="item_overridden",
                    examples=["item_1", "item_2"],
                ),
            ):
                return item_id
    
        with pytest.warns(DeprecationWarning):
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_sql_databases/test_tutorial001.py

            mod.sqlite_url, connect_args={"check_same_thread": False}, poolclass=StaticPool
        )
    
        with TestClient(mod.app) as c:
            yield c
    
    
    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")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            mod.sqlite_url, connect_args={"check_same_thread": False}, poolclass=StaticPool
        )
    
        with TestClient(mod.app) as c:
            yield c
    
    
    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")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                                        modelProblem.getMessage(), ModelProblemUtils.formatLocation(modelProblem, null));
                            }
                            logger.warn(message);
                        } else {
                            logger.warn(
                                    "{} {} encountered while building the effective model for {} during {} (use -X to see details)",
                                    problems.size(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            if (scheduleFailure != null) {
              service.notifyFailed(scheduleFailure);
            }
            return toReturn;
          }
    
          @GuardedBy("lock")
          /*
           * The GuardedBy checker warns us that we're not holding cancellationDelegate.lock. But in
           * fact we are holding it because it is the same as this.lock, which we know we are holding,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_2x.md

        managed both idle and active connections for HTTP/2, but only idle
        connections for HTTP/1.x. With this update the connection pool manages both
        idle and active connections for everything. OkHttp now detects and warns on
        connections that were allocated but never released, and will enforce HTTP/2
        stream limits. This update also fixes `Call.cancel()` to not do I/O on the
        calling thread.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  7. istioctl/pkg/admin/istiodconfig.go

    			"Possible values for <level>: none, error, warn, info, debug")
    	logCmd.PersistentFlags().StringVar(&stackTraceLevel, "stack-trace-level", stackTraceLevel,
    		"Comma-separated list of stack trace level for scopes in the format of <scope>:<stack-trace-level>[,<scope>:<stack-trace-level>,...]. "+
    			"Possible values for <stack-trace-level>: none, error, warn, info, debug")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                        } catch (final Exception e) {
                            logger.warn("Failed to install {}", filename, e);
                        } finally {
                            if (tempFile.exists() && !tempFile.delete()) {
                                logger.warn("Failed to delete {}.", tempFile.getAbsolutePath());
                            }
                        }
                    }).start();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                thumbnailQueueThread.join(10000);
            } catch (final InterruptedException e) {
                logger.warn("Thumbnail thread is timeouted.", e);
            }
            generatorList.forEach(g -> {
                try {
                    g.destroy();
                } catch (final Exception e) {
                    logger.warn("Failed to stop thumbnail generator.", e);
                }
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/log/Logger.java

            }
        }
    
        /**
         * WARN情報を出力します。
         *
         * @param message
         *            メッセージ
         * @param throwable
         *            例外
         */
        public void warn(final Object message, final Throwable throwable) {
            log.warn(toString(message), throwable);
        }
    
        /**
         * WARN情報を出力します。
         *
         * @param message
         *            メッセージ
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top