Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1521 - 1530 of 9,260 for import_ (0.07 sec)

  1. docs_src/security/tutorial004_py310.py

    from datetime import datetime, timedelta, timezone
    
    import jwt
    from fastapi import Depends, FastAPI, HTTPException, status
    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from jwt.exceptions import InvalidTokenError
    from passlib.context import CryptContext
    from pydantic import BaseModel
    
    # to get a string like this run:
    # openssl rand -hex 32
    SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

     */
    
    package gradlebuild.binarycompatibility.sources
    
    import com.github.javaparser.JavaParser
    import com.github.javaparser.ast.CompilationUnit
    import com.github.javaparser.ast.visitor.GenericVisitor
    import org.gradle.util.internal.TextUtil.normaliseFileSeparators
    import org.jetbrains.kotlin.psi.KtFile
    import gradlebuild.basics.util.KotlinSourceParser
    import java.io.File
    
    
    internal
    sealed class ApiSourceFile {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top