Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4681 - 4690 of 7,238 for importOf (0.08 sec)

  1. android/guava/src/com/google/common/hash/HashCode.java

     */
    
    package com.google.common.hash;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static java.lang.Math.min;
    
    import com.google.common.base.Preconditions;
    import com.google.common.primitives.UnsignedInts;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. docs_src/separate_openapi_schemas/tutorial002_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
    
    
    app = FastAPI(separate_input_output_schemas=False)
    
    
    @app.post("/items/")
    def create_item(item: Item):
        return item
    
    
    @app.get("/items/")
    def read_items() -> list[Item]:
        return [
            Item(
                name="Portal Gun",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 486 bytes
    - Viewed (0)
  3. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import com.google.gson.Gson
    import com.google.gson.reflect.TypeToken
    import com.google.gson.stream.JsonReader
    import gradlebuild.basics.repoRoot
    import gradlebuild.basics.isBundleGroovy4
    import gradlebuild.modules.extension.ExternalModulesExtension
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/SignedBytes.java

     * the License.
     */
    
    package com.google.common.primitives;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndexes;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Arrays;
    import java.util.Comparator;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     *
     */
    
    package okhttp3
    
    import java.net.InetAddress
    import java.net.UnknownHostException
    import java.util.concurrent.CountDownLatch
    import okio.IOException
    
    /**
     * An async domain name service that resolves IP addresses for host names.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.slack;
    
    import java.io.IOException;
    import java.io.InterruptedIOException;
    import okhttp3.HttpUrl;
    import okio.Timeout;
    
    /** A connection to Slack as a single user. */
    public final class SlackClient {
      private final SlackApi slackApi;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_form_models/test_tutorial002_an.py

    import pytest
    from fastapi.testclient import TestClient
    
    from tests.utils import needs_pydanticv2
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.request_form_models.tutorial002_an import app
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv2
    def test_post_body_form(client: TestClient):
        response = client.post("/login/", data={"username": "Foo", "password": "secret"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_form_models/test_tutorial002_pv1.py

    import pytest
    from fastapi.testclient import TestClient
    
    from tests.utils import needs_pydanticv1
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.request_form_models.tutorial002_pv1 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv1
    def test_post_body_form(client: TestClient):
        response = client.post("/login/", data={"username": "Foo", "password": "secret"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. docs_src/schema_extra_example/tutorial001_py310_pv1.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
        class Config:
            schema_extra = {
                "examples": [
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 631 bytes
    - Viewed (0)
  10. docs_src/dependencies/tutorial001.py

    from typing import Union
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    async def common_parameters(
        q: Union[str, None] = None, skip: int = 0, limit: int = 100
    ):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 442 bytes
    - Viewed (0)
Back to top