- Sort Score
- Num 10 results
- Language All
Results 1901 - 1910 of 4,044 for uname (0.03 seconds)
-
tests/test_security_api_key_header_optional.py
from fastapi import Depends, FastAPI, Security from fastapi.security import APIKeyHeader from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyHeader(name="key", auto_error=False) class User(BaseModel): username: str def get_current_user(oauth_header: Optional[str] = Security(api_key)): if oauth_header is None: return None
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2K bytes - Click Count (0) -
.idea/scopes/Gradle_public_API.xml
<component name="DependencyValidationManager"> <!-- The source of truth for this pattern is `build-logic/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt` file, please keep them in sync --> <scope name="Gradle public API"
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jul 18 15:08:47 GMT 2024 - 1.5K bytes - Click Count (0) -
docs/es/docs/tutorial/body-nested-models.md
Esto significaría que **FastAPI** esperaría un cuerpo similar a: ```JSON { "name": "Foo", "description": "The pretender", "price": 42.0, "tax": 3.2, "tags": ["rock", "metal", "bar"], "image": { "url": "http://example.com/baz.jpg", "name": "The Foo live" } } ``` Nuevamente, haciendo solo esa declaración, con **FastAPI** obtienes:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.2K bytes - Click Count (0) -
tests/test_security_scopes.py
from typing import Annotated import pytest from fastapi import Depends, FastAPI, Security from fastapi.testclient import TestClient @pytest.fixture(name="call_counter") def call_counter_fixture(): return {"count": 0} @pytest.fixture(name="app") def app_fixture(call_counter: dict[str, int]): def get_db(): call_counter["count"] += 1 return f"db_{call_counter['count']}"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1006 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/PingResponse.java
/** * Gets the status. * * @return the status */ public int getStatus() { return status; } /** * Gets the cluster name. * * @return the cluster name */ public String getClusterName() { return clusterName; } /** * Gets the cluster status. * * @return the cluster status */Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.4K bytes - Click Count (2) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
/** * SMB2 Durable Handle V2 Request Create Context (DH2Q) * * MS-SMB2 Section 2.2.13.2.4 */ public class DurableHandleV2Request implements CreateContextRequest { /** * Context name for durable handle V2 request */ public static final String CONTEXT_NAME = "DH2Q"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/SsoManager.java
if ("aad".equals(ssoType)) { ssoType = "entraid"; } final String name = ssoType + "Authenticator"; if (ComponentUtil.hasComponent(name)) { return ComponentUtil.getComponent(name); } return null; } /** * Gets the configured SSO type from the system configuration. *
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/UserInfoBhv.java
private String indexName = null; @Override protected String asEsIndex() { if (indexName == null) { final String name = ComponentUtil.getFessConfig().getIndexLogIndex(); indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_log"), name); } return indexName; } @Override protected LocalDateTime toLocalDateTime(final Object value) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.1K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGeneratorFactory.java
* * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead */ @Named(PluginsMetadataGeneratorFactory.NAME) @Singleton @Deprecated(since = "4.0.0") public class PluginsMetadataGeneratorFactory implements MetadataGeneratorFactory { public static final String NAME = "plugins"; @Override public MetadataGenerator newInstance(RepositorySystemSession session, InstallRequest request) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/SnapshotMetadataGeneratorFactory.java
* * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead */ @Named(SnapshotMetadataGeneratorFactory.NAME) @Singleton @Deprecated(since = "4.0.0") public class SnapshotMetadataGeneratorFactory implements MetadataGeneratorFactory { public static final String NAME = "snapshot"; @Override public MetadataGenerator newInstance(RepositorySystemSession session, InstallRequest request) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0)