Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2401 - 2410 of 7,721 for class2 (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionPersistenceException.java

     */
    package org.apache.maven.execution;
    
    /**
     * This exception will be thrown when something fails while persisting build resumption data.
     * @see BuildResumptionDataRepository#persistResumptionData
     */
    public class BuildResumptionPersistenceException extends Exception {
        public BuildResumptionPersistenceException(String message, Throwable cause) {
            super(message, cause);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. tests/test_security_api_key_header_description.py

    from fastapi.security import APIKeyHeader
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyHeader(name="key", description="An API Key Header")
    
    
    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
    - 2K bytes
    - Viewed (0)
  3. docs/sts/.gitignore

    # Byte-compiled / optimized / DLL files
    __pycache__/
    *.py[cod]
    *$py.class
    
    # C extensions
    *.so
    
    # Distribution / packaging
    .Python
    build/
    develop-eggs/
    dist/
    downloads/
    eggs/
    .eggs/
    lib/
    lib64/
    parts/
    sdist/
    var/
    wheels/
    *.egg-info/
    .installed.cfg
    *.egg
    MANIFEST
    
    # PyInstaller
    #  Usually these files are written by a python script from a template
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 15 11:55:55 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshotFromQuickFeedbackStepUpload.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package promotion
    
    import common.VersionedSettingsBranch
    import vcsroots.gradlePromotionBranches
    
    class PublishNightlySnapshotFromQuickFeedbackStepUpload(branch: VersionedSettingsBranch) : BasePublishGradleDistribution(
        promotedBranch = branch.branchName,
        prepTask = branch.prepNightlyTaskName(),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jul 25 21:00:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics.testing
    
    import org.gradle.api.tasks.testing.Test
    
    
    enum class TestType(val prefix: String, val executers: List<String>) {
        INTEGRATION("integ", listOf("embedded", "forking", "noDaemon", "parallel", "configCache", "isolatedProjects")),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.client.smb1;
    
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class SmbAuthenticationTest extends PlainTestCase {
        public void test_getPathPrefix() {
            SmbAuthentication smbAuthentication;
    
            smbAuthentication = new SmbAuthentication();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionRemoveAllTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAll_emptyCollection() {
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

    /**
     * Implementation of {@link Multimaps#filterKeys(Multimap, Predicate)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    class FilteredKeyMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimap<K, V> implements FilteredMultimap<K, V> {
      final Multimap<K, V> unfiltered;
      final Predicate<? super K> keyPredicate;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Test case for {@link TrustedListenableFutureTask}. */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class TrustedListenableFutureTaskTest extends TestCase {
    
      public void testSuccessful() throws Exception {
        TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/dataclasses.md

    但 FastAPI 还可以使用数据类(<a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a>):
    
    ```Python hl_lines="1  7-12  19-20"
    {!../../docs_src/dataclasses/tutorial001.py!}
    ```
    
    这还是借助于 **Pydantic** 及其<a href="https://pydantic-docs.helpmanual.io/usage/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">内置的 `dataclasses`</a>。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top