Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 7,011 for importOf (0.09 sec)

  1. tests/test_tutorial/test_body_nested_models/test_tutorial009_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.body_nested_models.tutorial009_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_post_body(client: TestClient):
        data = {"2": 2.2, "3": 3.3}
        response = client.post("/index-weights/", json=data)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules
    
    import gradlebuild.binarycompatibility.metadata.KotlinMetadataQueries
    import groovy.transform.CompileStatic
    import japicmp.model.JApiCompatibility
    import japicmp.model.JApiMethod
    import me.champeau.gradle.japicmp.report.Violation
    
    @CompileStatic
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. cmd/admin-bucket-handlers.go

    	i.Buckets[bucket] = st
    }
    
    // ImportBucketMetadataHandler - imports all bucket metadata from a zipped file and overwrite bucket metadata config
    // There are some caveats regarding the following:
    // 1. object lock config - object lock should have been specified at time of bucket creation. Only default retention settings are imported here.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  4. docs_src/request_files/tutorial003_an.py

    from typing import List
    
    from fastapi import FastAPI, File, UploadFile
    from fastapi.responses import HTMLResponse
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_files(
        files: Annotated[List[bytes], File(description="Multiple files as bytes")],
    ):
        return {"file_sizes": [len(file) for file in files]}
    
    
    @app.post("/uploadfiles/")
    async def create_upload_files(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 987 bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Handshake.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.security.Principal
    import java.security.cert.Certificate
    import java.security.cert.X509Certificate
    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.SSLSession
    import okhttp3.internal.immutableListOf
    import okhttp3.internal.toImmutableList
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

     */
    package org.apache.maven.artifact.factory;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.DefaultArtifact;
    import org.apache.maven.artifact.handler.ArtifactHandler;
    import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager;
    import org.apache.maven.artifact.versioning.VersionRange;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

     */
    
    package jcifs.internal.smb1.com;
    
    
    import java.security.GeneralSecurityException;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.internal.smb1.AndXServerMessageBlock;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbException;
    
    
    /**
     * 
     */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.ByteBuffer;
    import java.nio.file.Path;
    import java.util.Collection;
    import java.util.Map;
    
    import org.apache.maven.api.Service;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Checksum algorithms service.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. docs_src/dataclasses/tutorial003.py

    from dataclasses import field  # (1)
    from typing import List, Union
    
    from fastapi import FastAPI
    from pydantic.dataclasses import dataclass  # (2)
    
    
    @dataclass
    class Item:
        name: str
        description: Union[str, None] = None
    
    
    @dataclass
    class Author:
        name: str
        items: List[Item] = field(default_factory=list)  # (3)
    
    
    app = FastAPI()
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Jul 31 14:09:15 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

     */
    package okhttp3.internal.idn
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isGreaterThan
    import assertk.assertions.isLessThan
    import kotlin.test.assertEquals
    import kotlin.test.assertFailsWith
    import okio.Buffer
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top