- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 72 for setattr (0.04 sec)
-
src/main/java/org/codelibs/fess/util/PrunedTag.java
* Sets a custom attribute name-value pair that this pruned tag should match. * * @param name the attribute name to match * @param value the attribute value to match */ public void setAttr(final String name, final String value) { attrName = name; attrValue = value; } @Override public String toString() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 04:23:08 UTC 2025 - 7.1K bytes - Viewed (0) -
fastapi/openapi/utils.py
openapi_examples = getattr(field_info, "openapi_examples", None) example = getattr(field_info, "example", None) if openapi_examples: parameter["examples"] = jsonable_encoder(openapi_examples) elif example != Undefined: parameter["example"] = jsonable_encoder(example) if getattr(field_info, "deprecated", None):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 23.2K bytes - Viewed (0) -
fastapi/dependencies/models.py
return False dunder_call = getattr(_impartial(self.call), "__call__", None) # noqa: B004 if dunder_call is None: return False # pragma: no cover if inspect.isgeneratorfunction( _impartial(dunder_call) ) or inspect.isgeneratorfunction(_unwrapped_call(dunder_call)): return TrueRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 7.1K bytes - Viewed (0) -
fastapi/types.py
import types from enum import Enum from typing import Any, Callable, Optional, TypeVar, Union from pydantic import BaseModel DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any]) UnionType = getattr(types, "UnionType", Union) ModelNameMap = dict[Union[type[BaseModel], type[Enum]], str] IncEx = Union[set[int], set[str], dict[int, Any], dict[str, Any]]
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 455 bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java
// Test URL getter/setter ResponseData data = new ResponseData(); String url = "https://example.com/path"; data.setUrl(url); assertEquals(url, data.getUrl()); data.setUrl(null); assertNull(data.getUrl()); } public void test_httpStatusCodeGetterSetter() { // Test HTTP status code getter/setter ResponseData data = new ResponseData();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.3K bytes - Viewed (0) -
fastapi/dependencies/utils.py
isinstance(field_info, params.Param) and getattr(field_info, "in_", None) is None ): field_info.in_ = params.ParamTypes.query use_annotation_from_field_info = use_annotation if isinstance(field_info, params.Form): ensure_multipart_is_installed() if not field_info.alias and getattr(field_info, "convert_underscores", None):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 37.6K bytes - Viewed (3) -
fastapi/exception_handlers.py
from starlette.responses import JSONResponse, Response from starlette.status import WS_1008_POLICY_VIOLATION async def http_exception_handler(request: Request, exc: HTTPException) -> Response: headers = getattr(exc, "headers", None) if not is_body_allowed_for_status_code(exc.status_code): return Response(status_code=exc.status_code, headers=headers) return JSONResponse(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 16 17:21:48 UTC 2025 - 1.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/AccessResultImplTest.java
// Test ID getter/setter AccessResultImpl<Long> result = new AccessResultImpl<>(); result.setId(123L); assertEquals(Long.valueOf(123L), result.getId()); result.setId(null); assertNull(result.getId()); } public void test_sessionIdGetterSetter() { // Test session ID getter/setterRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 13.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java
public void test_idGetterSetter() { // Test ID getter/setter with Long UrlQueueImpl<Long> queue = new UrlQueueImpl<>(); queue.setId(123L); assertEquals(Long.valueOf(123L), queue.getId()); queue.setId(null); assertNull(queue.getId()); } public void test_idWithStringType() { // Test ID getter/setter with String UrlQueueImpl<String> queue = new UrlQueueImpl<>();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 9.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java
String title = Character.toTitleCase(propertyName.charAt(0)) + propertyName.substring(1); // Try setter first MethodInfo setter = classMethodCache.get("set" + title); if (setter != null && isMethodCompatible(setter.method, valueType)) { return setter; } // Try adder MethodInfo adder = classMethodCache.get("add" + title);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 12.3K bytes - Viewed (0)