- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 292 for Converter (0.04 sec)
-
docs/en/docs/tutorial/handling-errors.md
```JSON { "detail": "Item not found" } ``` /// tip When raising an `HTTPException`, you can pass any value that can be converted to JSON as the parameter `detail`, not only `str`. You could pass a `dict`, a `list`, etc. They are handled automatically by **FastAPI** and converted to JSON. /// ## Add custom headers { #add-custom-headers }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java
} /** * Creates an EditBody from a KuromojiItem entity for API responses. * * @param entity the KuromojiItem entity to convert * @param dictId the dictionary ID * @return the converted EditBody object */ protected EditBody createEditBody(final KuromojiItem entity, final String dictId) { final EditBody body = new EditBody(); body.id = entity.getId();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java
} /** * Creates an EditBody from a Role entity. * * @param entity the role entity to convert * @return the converted EditBody */ protected EditBody createEditBody(final Role entity) { final EditBody body = new EditBody(); copyBeanToBean(entity, body, copyOp -> { copyOp.excludeNull();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
/** * Converts an object to the specified class type. * @param <T> The target type. * @param value The object to convert. * @param clazz The class type to convert to. * @return The converted object. */ @SuppressWarnings("unchecked") protected <T> T convertObj(final Object value, final Class<T> clazz) { if (clazz.isAssignableFrom(String.class)) { return (T) value.toString();Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* Ensures the truth of an expression involving one or more parameters to the calling method. * * @param expression a boolean expression * @param errorMessage the exception message to use if the check fails; will be converted to a * string using {@link String#valueOf(Object)} * @throws IllegalArgumentException if {@code expression} is false */ public static void checkArgument(boolean expression, @Nullable Object errorMessage) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 22:11:00 UTC 2025 - 53K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/ParamMap.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
cmd/metrics-v3-types.go
"github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" ) type collectorPath string // metricPrefix converts a collector path to a metric name prefix. The path is // converted to snake-case (by replaced '/' and '-' with '_') and prefixed with // `minio_`. func (cp collectorPath) metricPrefix() string { s := strings.TrimPrefix(string(cp), SlashSeparator) s = strings.ReplaceAll(s, SlashSeparator, "_")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Feb 28 19:33:08 UTC 2025 - 15.6K bytes - Viewed (0) -
docs/es/docs/tutorial/body.md
...y declara su tipo como el modelo que creaste, `Item`. ## Resultados Con solo esa declaración de tipo en Python, **FastAPI** hará lo siguiente: * Leer el body del request como JSON. * Convertir los tipos correspondientes (si es necesario). * Validar los datos. * Si los datos son inválidos, devolverá un error claro e indicado, señalando exactamente dónde y qué fue lo incorrecto.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
return directive; } } return null; } /** * Adds a directive to the robots.txt rules. * The user-agent pattern in the directive is converted to a regular expression pattern, * where '*' is replaced with '.*' for pattern matching, and stored case-insensitively. * * @param directive The directive to add to the robots.txt rules */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java
} /** * Creates an EditBody from a CrawlingInfo entity for API responses. * * @param entity the CrawlingInfo entity to convert * @return the converted EditBody object */ protected EditBody createEditBody(final CrawlingInfo entity) { final EditBody body = new EditBody(); copyBeanToBean(entity, body, copyOp -> { copyOp.excludeNull();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 6.1K bytes - Viewed (0)