- Sort Score
- Num 10 results
- Language All
Results 851 - 860 of 4,168 for get (0.01 seconds)
-
tests/test_security_http_bearer.py
app = FastAPI() security = HTTPBearer() @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_bearer(): response = client.get("/users/me", headers={"Authorization": "Bearer foobar"})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.3K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
} } // -- InputLocation clone() /** * Get the one-based column number. The value will be * non-positive if unknown. * * @return int */ public int getColumnNumber() { return this.columnNumber; } // -- int getColumnNumber() /** * Get the one-based line number. The value will be * non-positive if unknown. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 13.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java
* @param filename the DFS path to get referrals for */ public Trans2GetDfsReferral(final Configuration config, final String filename) { this(config, filename, 3); } /** * Constructs a Trans2GetDfsReferral request with specified referral level. * * @param config the configuration to use * @param filename the DFS path to get referrals forCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java
@Secured({ ROLE, ROLE + VIEW }) public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) { pageNumber.ifPresent(num -> { relatedQueryPager.setCurrentPageNumber(pageNumber.get()); }).orElse(() -> { relatedQueryPager.setCurrentPageNumber(0); }); return asHtml(path_AdminRelatedquery_AdminRelatedqueryJsp).renderWith(data -> { searchPaging(data, form);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 16.3K bytes - Click Count (0) -
tests/test_request_params/test_path/test_required_str.py
from inline_snapshot import Is, snapshot app = FastAPI() @app.get("/required-str/{p}") async def read_required_str(p: Annotated[str, Path()]): return {"p": p} @app.get("/required-alias/{p_alias}") async def read_required_alias(p: Annotated[str, Path(alias="p_alias")]): return {"p": p} @app.get("/required-validation-alias/{p_val_alias}") def read_required_validation_alias(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 09 15:35:43 GMT 2026 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessConfigImpl.java
} private String getFromCache(final String propertyKey) { try { return cache.get(propertyKey, () -> { final String value = System.getProperty(Constants.FESS_CONFIG_PREFIX + propertyKey, super.get(propertyKey)); if (value == null) { throw new KeyNotFoundException(propertyKey); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 05 09:31:58 GMT 2026 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableSet.java
JdkBackedImmutableSet(Set<?> delegate, ImmutableList<E> delegateList) { this.delegate = delegate; this.delegateList = delegateList; } @Override E get(int index) { return delegateList.get(index); } @Override public boolean contains(@Nullable Object object) { return delegate.contains(object); } @Override boolean isPartialView() { return false;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 22:23:20 GMT 2025 - 1.8K bytes - Click Count (0) -
docs/en/docs/reference/fastapi.md
members: - openapi_version - webhooks - state - dependency_overrides - openapi - websocket - include_router - get - put - post - delete - options - head - patch - trace - on_event - middlewareCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 701 bytes - Click Count (0) -
tests/test_security_api_key_header.py
user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): return current_user client = TestClient(app) def test_security_api_key(): response = client.get("/users/me", headers={"key": "secret"}) assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/bug_report.md
Good bug reports include a failing test! Writing a test helps you to isolate and describe the problem, and it helps us to fix it fast. Bug reports without a failing test or reproduction steps are likely to be closed. Here’s an example test to get you started.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Dec 30 22:44:40 GMT 2018 - 412 bytes - Click Count (0)