Search Options

Results per page
Sort
Preferred Languages
Advance

Results 781 - 790 of 1,197 for feature (0.08 sec)

  1. tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py39.py

    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py39, needs_pydanticv2
    
    
    @pytest.fixture(name="client")
    def get_client() -> TestClient:
        from docs_src.separate_openapi_schemas.tutorial002_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_create_item(client: TestClient) -> None:
        response = client.post("/items/", json={"name": "Foo"})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

        public String getArtifactId() {
            return "";
        }
    
        @Override
        public String getVersion() {
            return "";
        }
    
        @Override
        public Nature getNature() {
            return Nature.RELEASE_OR_SNAPSHOT;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FluentIterable.java

     *       hand, is multiple-use, and does implement {@link Iterable}.
     *   <li>Streams offer many features not found here, including {@code min/max}, {@code distinct},
     *       {@code reduce}, {@code sorted}, the very powerful {@code collect}, and built-in support for
     *       parallelizing stream operations.
     *   <li>{@code FluentIterable} contains several features not available on {@code Stream}, which are
     *       noted in the method descriptions below.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(scope="module")
    def client():
        static_dir: Path = Path(os.getcwd()) / "static"
        print(static_dir)
        static_dir.mkdir(exist_ok=True)
        from docs_src.custom_docs_ui.tutorial001 import app
    
        with TestClient(app) as client:
            yield client
        static_dir.rmdir()
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

    import com.google.common.collect.testing.SetTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringSetGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.HashSet;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      /*
       * TODO: improve this and other implementations and move out of this framework
       * for wider use
       *
       * TODO: could we incorporate the overriding logic from AbstractListTester, by
       * examining whether the features include KNOWN_ORDER?
       */
      protected void expectContents(Collection<E> expected) {
        assertEqualIgnoringOrder(expected, actualContents());
      }
    
      protected void expectUnchanged() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_response_model/test_tutorial004_py39.py

    import pytest
    from dirty_equals import IsDict, IsOneOf
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py39
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.response_model.tutorial004_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    @pytest.mark.parametrize(
        "url,data",
        [
            ("/items/foo", {"name": "Foo", "price": 50.2}),
            (
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_ANY_NULL_QUERIES;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Collections.emptyList;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AggregateFutureState.java

        extends AbstractFuture.TrustedFuture<OutputT> {
      // Lazily initialized the first time we see an exception; not released until all the input futures
      // & this future completes. Released when the future releases the reference to the running state
      private @Nullable Set<Throwable> seenExceptions = null;
      private int remaining;
    
      AggregateFutureState(int remainingFutures) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 08 20:30:27 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/openapi-callbacks.md

    Imagine que você tem um aplicativo que permite criar faturas.
    
    Essas faturas terão um `id`, `title` (opcional), `customer` e `total`.
    
    O usuário da sua API (um desenvolvedor externo) criará uma fatura em sua API com uma solicitação POST.
    
    Então sua API irá (vamos imaginar):
    
    * Enviar uma solicitação de pagamento para o desenvolvedor externo.
    * Coletar o dinheiro.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:53:03 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top