Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1461 - 1470 of 9,506 for import (0.09 sec)

  1. docs_src/cookie_param_models/tutorial001_an.py

    from typing import Union
    
    from fastapi import Cookie, FastAPI
    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class Cookies(BaseModel):
        session_id: str
        fatebook_tracker: Union[str, None] = None
        googall_tracker: Union[str, None] = None
    
    
    @app.get("/items/")
    async def read_items(cookies: Annotated[Cookies, Cookie()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 391 bytes
    - Viewed (0)
  2. docs_src/settings/app03_an/main.py

    from functools import lru_cache
    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    from . import config
    
    app = FastAPI()
    
    
    @lru_cache
    def get_settings():
        return config.Settings()
    
    
    @app.get("/info")
    async def info(settings: Annotated[config.Settings, Depends(get_settings)]):
        return {
            "app_name": settings.app_name,
            "admin_email": settings.admin_email,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 451 bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/LinkedHashMultimap.java

    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Objects;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.j2objc.annotations.WeakOuter;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Striped.java

    import com.google.common.math.IntMath;
    import com.google.common.primitives.Ints;
    import java.lang.ref.Reference;
    import java.lang.ref.ReferenceQueue;
    import java.lang.ref.WeakReference;
    import java.math.RoundingMode;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.Semaphore;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

     * under the License.
     */
    package org.apache.maven.project.path;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Reporting;
    import org.apache.maven.model.Resource;
    
    /**
     * DefaultPathTranslator
     */
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

     */
    package org.codelibs.fess.helper;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.ForkJoinPool;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.apache.commons.lang3.RandomStringUtils;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

     * the License.
     */
    
    package com.google.common.io;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import com.google.caliper.api.VmOptions;
    import com.google.common.base.Optional;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.nio.charset.Charset;
    import java.util.Random;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

     */
    
    package com.google.common.net;
    
    import static com.google.common.escape.testing.EscaperAsserts.assertEscaping;
    import static com.google.common.escape.testing.EscaperAsserts.assertUnescaped;
    import static com.google.common.escape.testing.EscaperAsserts.assertUnicodeEscaping;
    import static com.google.common.net.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.truth.Truth.assertThat;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

    package okhttp3.internal.connection
    
    import java.io.IOException
    import java.util.concurrent.CopyOnWriteArrayList
    import java.util.concurrent.LinkedBlockingDeque
    import java.util.concurrent.TimeUnit
    import okhttp3.internal.concurrent.Task
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.RoutePlanner.ConnectResult
    import okhttp3.internal.connection.RoutePlanner.Plan
    import okhttp3.internal.okHttpName
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

    package org.apache.maven.model.interpolation.reflection;
    
    import java.lang.ref.Reference;
    import java.lang.ref.WeakReference;
    import java.lang.reflect.Array;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Map;
    import java.util.Optional;
    import java.util.WeakHashMap;
    
    import org.apache.maven.api.annotations.Nonnull;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top