Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1631 - 1640 of 3,625 for Gist (0.07 seconds)

  1. tests/test_invalid_path_param.py

    
    def test_invalid_sequence():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/{id}")
            def read_items(id: list[Item]):
                pass  # pragma: no cover
    
    
    def test_invalid_tuple():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

                        return new StandardImplForwardingSortedSet<>(
                            new SafeTreeSet<String>(asList(elements)));
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return new ArrayList<>(Sets.newTreeSet(insertionOrder));
                      }
                    })
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code replaceAll()} operations on a map. Can't be invoked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy.resolver.transform;
    
    import javax.inject.Inject;
    
    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.DefaultRepositoryRequest;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. compat/maven-model-builder/pom.xml

                  <!--              <exclude>org.apache.maven.model.composition.DefaultDependencyManagementImporter#importManagement(org.apache.maven.model.Model,java.util.List,org.apache.maven.model.building.ModelBuildingRequest,org.apache.maven.model.building.Model...
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. docs/de/docs/how-to/separate-openapi-schemas.md

    Für `Item-Input` ist `description` **nicht erforderlich**, es hat kein rotes Sternchen.
    
    Aber für `Item-Output` ist `description` **erforderlich**, es hat ein rotes Sternchen.
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image04.png">
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestListGenerator.java

    import java.util.List;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestListGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      List<E> create(Object... elements);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/JavaUtil.java

    import org.gradle.api.GradleException;
    
    import java.util.List;
    import java.util.Optional;
    
    public class JavaUtil {
    
        /** A convenience method for getting java home for a version of java and requiring that version for the given task to execute */
        public static String getJavaHome(final int version) {
            List<JavaHome> javaHomes = BuildParams.getJavaVersions();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Joiner.java

         * List, which is _even more likely_ to have size() implemented to be fast and side-effect-free.
         *
         * We could consider recognizing specific other collections as safe (like ImmutableCollection,
         * except ContiguousSet!) or as not worth this optimization (CopyOnWriteArrayList?).
         */
        if (parts instanceof List) {
          int size = ((List<?>) parts).size();
          if (size == 0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/response-model.md

    ///
    
    `response_model` recibe el mismo tipo que declararías para un campo de modelo Pydantic, por lo que puede ser un modelo de Pydantic, pero también puede ser, por ejemplo, un `list` de modelos de Pydantic, como `List[Item]`.
    
    FastAPI usará este `response_model` para hacer toda la documentación de datos, validación, etc. y también para **convertir y filtrar los datos de salida** a su declaración de tipo.
    
    /// tip | Consejo
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.1K bytes
    - Click Count (0)
Back to Top