Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 549 for convey (0.04 seconds)

  1. tests/test_additional_responses_custom_validationerror.py

        errors: list[Error]
    
    
    @app.get(
        "/a/{id}",
        response_class=JsonApiResponse,
        responses={422: {"description": "Error", "model": JsonApiError}},
    )
    async def a(id):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

                .map { (_, v) -> listOf(v.maxOrNull()!!.format()) }.flatten()
        }
    
        private
        fun VersionNumber.format() =
            // reformat according to our versioning scheme, since toString() would typically convert 1.0 to 1.0.0
            // starting with Gradle 9.0, the version number is always 3 digits (SemVer)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Sep 10 06:04:09 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. docs/pt/docs/advanced/response-cookies.md

    **FastAPI** usará essa resposta *temporária* para extrair os cookies (também os cabeçalhos e código de status) e os colocará na resposta final que contém o valor que você retornou, filtrado por qualquer `response_model`.
    
    Você também pode declarar o parâmetro `Response` em dependências e definir cookies (e cabeçalhos) nelas.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/response-headers.md

    **FastAPI** usará essa resposta *temporária* para extrair os cabeçalhos (cookies e código de status também) e os colocará na resposta final que contém o valor que você retornou, filtrado por qualquer `response_model`.
    
    Você também pode declarar o parâmetro `Response` em dependências e definir cabeçalhos (e cookies) nelas.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  5. docs/uk/docs/tutorial/header-param-models.md

                "loc": ["header", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Вимкнути перетворення підкреслень { #disable-convert-underscores }
    
    Так само, як і зі звичайними параметрами заголовків, коли у назвах параметрів є символи підкреслення, вони **автоматично перетворюються на дефіси**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:42:01 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  6. internal/s3select/csv/recordtransform.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package csv
    
    import (
    	"bytes"
    	"io"
    )
    
    // recordTransform will convert records to always have newline records.
    type recordTransform struct {
    	reader io.Reader
    	// recordDelimiter can be up to 2 characters.
    	recordDelimiter []byte
    	oneByte         []byte
    	useOneByte      bool
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  7. tests/test_stringified_annotation_dependency_py314.py

    from typing import TYPE_CHECKING, Annotated
    
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    from .utils import needs_py314
    
    if TYPE_CHECKING:  # pragma: no cover
    
        class DummyUser: ...
    
    
    @needs_py314
    def test_stringified_annotation():
        # python3.14: Use forward reference without "from __future__ import annotations"
        async def get_current_user() -> DummyUser | None:
            return None
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 13:49:44 GMT 2026
    - 711 bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/ExtensionResolutionException.java

            super(
                    "Extension " + extension.getId() + " or one of its dependencies could not be resolved: "
                            + cause.getMessage(),
                    cause);
            // Convert to old type
            CoreExtension oldExtension = new CoreExtension();
            oldExtension.setGroupId(extension.getGroupId());
            oldExtension.setArtifactId(extension.getArtifactId());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

            }
          }
        }
    
        return if (cookies != null) {
          Collections.unmodifiableList(cookies)
        } else {
          emptyList()
        }
      }
    
      /**
       * Convert a request header to OkHttp's cookies via [HttpCookie]. That extra step handles
       * multiple cookies in a single request header, which [Cookie.parse] doesn't support.
       */
      private fun decodeHeaderAsJavaNetCookies(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

            return read(new StringReader(xml));
        }
    
        /**
         * Converts the given content to an XML string.
         *
         * @param content the object to convert
         * @return the xml string representation
         * @throws XmlWriterException if an error occurs during the transformation
         * @see #fromXmlString(String)
         */
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top