Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1291 - 1300 of 3,751 for toType (0.05 seconds)

  1. tests/test_stream_bare_type.py

        assert response.headers["content-type"] == "application/jsonl"
        lines = [json.loads(line) for line in response.text.strip().splitlines()]
        assert lines == [{"name": "foo"}]
    
    
    def test_stream_bare_sync_iterable():
        response = client.get("/items/stream-bare-sync")
        assert response.status_code == 200
        assert response.headers["content-type"] == "application/jsonl"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ElementWarningsRenderer.java

    import gradlebuild.docs.dsl.docbook.model.DslElementDoc;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class ElementWarningsRenderer {
        public void renderTo(DslElementDoc elementDoc, String type, Element parent) {
            if (elementDoc.isDeprecated()) {
                Document document = parent.getOwnerDocument();
                Element caution = document.createElement("caution");
                parent.appendChild(caution);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Click Count (0)
  3. .ci/jobs.t/elastic+elasticsearch+multijob+packaging-tests-upgrade.yml

        project-type: matrix
        node: master
        scm:
          - git:
              wipe-workspace: false
        axes:
          - axis:
              type: label-expression
              name: os
              values:
                - centos-8-packaging
                - ubuntu-20.04-packaging
          - axis:
              type: yaml
              filename: ".ci/bwcVersions"
              name: BWC_VERSION
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue May 25 23:43:40 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          derWriter.writeOctetString("Jones".encodeUtf8())
        }
    
        assertThat(buffer.readByteString()).isEqualTo("1A054A6F6E6573".decodeHex())
      }
    
      @Test fun `decode implicit prefixed type`() {
        // Type1 ::= VisibleString
        // Type2 ::= [APPLICATION 3] IMPLICIT Type1
        val buffer =
          Buffer()
            .write("43054A6F6E6573".decodeHex())
    
        val derReader = DerReader(buffer)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  5. fastapi/applications.py

                    When `False`, requests without a `Content-Type` header will have
                    their body parsed as JSON, which maintains compatibility with
                    certain clients that don't send `Content-Type` headers.
    
                    Read more about it in the
                    [FastAPI docs for Strict Content-Type](https://fastapi.tiangolo.com/advanced/strict-content-type/).
                    """
                ),
            ] = True,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            where:
            implicitMethod << ["values", "valueOf"]
        }
    
        private def paramStub(String type) {
            def stub = Stub(JApiParameter)
            stub.type >> type
            return stub
        }
    
        AbstractContextAwareViolationRule withContext(AbstractContextAwareViolationRule rule) {
            rule.context = new ViolationCheckContext() {
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 16K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/CapacityEnforcingMap.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * LinkedHashMap that enforces its maximum size and logs events in a StatsCounter object and an
     * optional RemovalListener.
     *
     * @param <K> the base key type
     * @param <V> the base value type
     */
    final class CapacityEnforcingMap<K, V> extends LinkedHashMap<K, Timestamped<V>> {
    
      private final StatsCounter statsCounter;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/resources/poms/validation/bad-dependency-management-scope.xml

            <version>0.2</version>
            <scope>import</scope>
          </dependency>
          <dependency>
            <groupId>test</groupId>
            <artifactId>g</artifactId>
            <version>1</version>
            <type>pom</type>
            <scope>include</scope>
          </dependency>
        </dependencies>
      </dependencyManagement>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. .ci/jobs.t/elastic+elasticsearch+intake.yml

    ---
    - job:
        name: elastic+elasticsearch+%BRANCH%+intake
        display-name: "elastic / elasticsearch # %BRANCH% - intake"
        description: "Testing of the Elasticsearch %BRANCH% branch on every push.\n"
        project-type: multijob
        node: master
        vault: []
        triggers:
          # We use this trigger instead of the provided "github" webhook trigger because it's more robust.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  10. fastapi/utils.py

    
    _invalid_args_message = (
        "Invalid args for response field! Hint: "
        "check that {type_} is a valid Pydantic field type. "
        "If you are using a return type annotation that is not a valid Pydantic "
        "field (e.g. Union[Response, dict, None]) you can disable generating the "
        "response model from the type annotation with the path operation decorator "
        "parameter response_model=None. Read more: "
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 4.2K bytes
    - Click Count (0)
Back to Top