- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 9,506 for import (0.04 sec)
-
docs_src/body_updates/tutorial001_py39.py
from typing import Union from fastapi import FastAPI from fastapi.encoders import jsonable_encoder from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: Union[str, None] = None description: Union[str, None] = None price: Union[float, None] = None tax: float = 10.5 tags: list[str] = [] items = { "foo": {"name": "Foo", "price": 50.2},
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 900 bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
* governing permissions and limitations under the License. */ package org.codelibs.core.io; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.io.BufferedReader; import java.io.Reader; import java.util.Iterator; import java.util.NoSuchElementException; import org.codelibs.core.exception.ClUnsupportedOperationException; /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.netbios; import java.net.Socket; import jcifs.smb1.Config; import jcifs.smb1.util.LogStream; import java.net.InetAddress; import java.io.InputStream; import java.io.OutputStream; import java.io.IOException; /** Do not use this class. Writing to the OutputStream of this type of socket
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.validation; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.util.ComponentUtil; import jakarta.validation.ConstraintDefinitionException; import jakarta.validation.ConstraintValidator; import jakarta.validation.ConstraintValidatorContext; public class UriTypeValidator implements ConstraintValidator<UriType, String> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 17 13:37:12 UTC 2024 - 2.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.recipes.kt import java.io.File import java.io.IOException import okhttp3.Cache import okhttp3.OkHttpClient import okhttp3.Request class CacheResponse(cacheDirectory: File) { private val client: OkHttpClient = OkHttpClient.Builder() .cache( Cache(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
* under the License. */ package org.apache.maven.model; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; /** * Tests {@code Model}. * */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
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) -
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 class KotlinModifiersBreakingChangeRule extends AbstractGradleViolationRule {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.4K bytes - Viewed (0) -
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) -
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)