Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1701 - 1710 of 7,238 for importOf (0.05 sec)

  1. tests/test_union_inherited_body.py

    from typing import Optional, Union
    
    from dirty_equals import IsDict
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Optional[str] = None
    
    
    class ExtendedItem(Item):
        age: int
    
    
    @app.post("/items/")
    def save_union_different_body(item: Union[ExtendedItem, Item]):
        return {"item": item}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/it/admin/KeyMatchTests.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.it.admin;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    @Tag("it")
    public class KeyMatchTests extends CrudTestBase {
    
        private static final String NAME_PREFIX = "keyMatchTest_";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/exentity/RequestHeader.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.config.exentity;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.app.service.WebConfigService;
    import org.codelibs.fess.es.config.bsentity.BsRequestHeader;
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * @author FreeGen
     */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/annotations/GwtIncompatible.java

     * the License.
     */
    
    package com.google.common.annotations;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * The presence of this annotation on an API indicates that the method may not be used with
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

     */
    
    package model
    
    import com.alibaba.fastjson.JSON
    import com.alibaba.fastjson.JSONArray
    import com.alibaba.fastjson.JSONObject
    import common.Os
    import configurations.PerformanceTest
    import jetbrains.buildServer.configs.kotlin.BuildStep
    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    import java.io.File
    import java.nio.charset.StandardCharsets
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

     */
    package org.codelibs.core.collection;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.hamcrest.CoreMatchers.sameInstance;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertThat;
    import static org.junit.Assert.assertTrue;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/DenseImmutableTable.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ImmutableMap.IteratorBasedImmutableMap;
    import com.google.errorprone.annotations.Immutable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. docs_src/app_testing/app_b_an/main.py

    from typing import Union
    
    from fastapi import FastAPI, Header, HTTPException
    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    fake_secret_token = "coneofsilence"
    
    fake_db = {
        "foo": {"id": "foo", "title": "Foo", "description": "There goes my hero"},
        "bar": {"id": "bar", "title": "Bar", "description": "The bartenders"},
    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 22:31:16 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. android-test-app/src/androidTest/kotlin/okhttp/android/testapp/PublicSuffixDatabaseTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.android
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import org.junit.Test
    
    /**
     * Run with "./gradlew :android-test-app:connectedCheck -PandroidBuild=true" and make sure ANDROID_SDK_ROOT is set.
     */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

     */
    package gradlebuild.docs.dsl.docbook
    
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import gradlebuild.docs.dsl.source.model.MethodMetaData
    import gradlebuild.docs.dsl.source.model.ParameterMetaData
    import gradlebuild.docs.dsl.source.model.PropertyMetaData
    import gradlebuild.docs.dsl.source.model.TypeMetaData
    import gradlebuild.docs.XmlSpecification
    import gradlebuild.docs.dsl.docbook.model.ClassDoc
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
Back to top