- Sort Score
- Result 10 results
- Languages All
Results 1631 - 1640 of 9,506 for import (0.06 sec)
-
fastapi/dependencies/models.py
from dataclasses import dataclass, field from typing import Any, Callable, List, Optional, Sequence, Tuple from fastapi._compat import ModelField from fastapi.security.base import SecurityBase @dataclass class SecurityRequirement: security_scheme: SecurityBase scopes: Optional[Sequence[str]] = None @dataclass class Dependant: path_params: List[ModelField] = field(default_factory=list)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 31 20:19:30 UTC 2024 - 1.5K bytes - Viewed (0) -
tests/test_security_api_key_query.py
from fastapi import Depends, FastAPI, Security from fastapi.security import APIKeyQuery from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyQuery(name="key") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/TagForm.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.admin.storage; import java.util.HashMap; import java.util.Map; import org.apache.logging.log4j.core.config.plugins.validation.constraints.Required; import jakarta.validation.constraints.Size; public class TagForm { @Required public String path; @Required @Size(max = 100)
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/impl/ScriptExecutor.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.job.impl; import java.util.HashMap; import java.util.Map; import org.codelibs.fess.job.JobExecutor; import org.codelibs.fess.util.ComponentUtil; public class ScriptExecutor extends JobExecutor { @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/FessActionValidator.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.validation; import org.lastaflute.core.message.UserMessages; import org.lastaflute.core.message.supplier.UserMessagesCreator; import org.lastaflute.web.servlet.request.RequestManager; import org.lastaflute.web.validation.ActionValidator;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/RealStream.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package mockwebserver3.internal.duplex import mockwebserver3.Stream import okhttp3.internal.http2.ErrorCode import okhttp3.internal.http2.Http2Stream import okio.buffer /** Adapt OkHttp's internal [Http2Stream] type to the public [Stream] type. */ internal class RealStream( private val http2Stream: Http2Stream,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Dec 31 18:24:52 UTC 2022 - 1.1K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
* under the License. */ package org.apache.maven.model; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Organization}. * */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial004_an_py39.py
import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from ...utils import needs_py39 @pytest.fixture(name="client") def get_client(): from docs_src.dependencies.tutorial004_an_py39 import app client = TestClient(app) return client @needs_py39 @pytest.mark.parametrize( "path,expected_status,expected_response", [ ( "/items",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/BsElevateWordToLabel.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.es.config.bsentity; import java.time.LocalDateTime; import java.util.HashMap; import java.util.Map; import org.codelibs.fess.es.config.allcommon.EsAbstractEntity; import org.codelibs.fess.es.config.bsentity.dbmeta.ElevateWordToLabelDbm; /** * ${table.comment} * @author ESFlute (using FreeGen) */
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java
* limitations under the License. */ package com.google.common.util.concurrent; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /** * Benchmarks for {@link CycleDetectingLockFactory}. * * @author Darick Tong */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.4K bytes - Viewed (0)