- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 670 for custom (0.88 sec)
-
tests/test_request_body_parameters_media_type.py
from pydantic import BaseModel app = FastAPI() media_type = "application/vnd.api+json" # NOTE: These are not valid JSON:API resources # but they are fine for testing requestBody with custom media_type class Product(BaseModel): name: str price: float class Shop(BaseModel): name: str @app.post("/products")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 6.3K bytes - Viewed (0) -
docs/ru/docs/advanced/response-headers.md
И поскольку `Response` часто используется для установки заголовков и cookie, **FastAPI** также предоставляет его как `fastapi.Response`. /// ## Пользовательские HTTP-заголовки { #custom-headers } Помните, что собственные проприетарные заголовки можно добавлять, <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">используя префикс `X-`</a>.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/en/docs/how-to/graphql.md
/// tip If you need GraphQL, I still would recommend you check out <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry</a>, as it's based on type annotations instead of custom classes and types. /// ## Learn More { #learn-more } You can learn more about **GraphQL** in the <a href="https://graphql.org/" class="external-link" target="_blank">official GraphQL documentation</a>.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 3.4K bytes - Viewed (0) -
.ci/jobs.t/defaults.yml
- UNSTABLE build-steps: - http-request: url: https://homer.app.elstc.co/webhook/jenkins/build-finished mode: GET custom-headers: - name: X-Jenkins-BuildRegistered: Sun Dec 21 06:47:06 UTC 2025 - Last Modified: Wed Sep 29 15:38:05 UTC 2021 - 2.9K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.plugin.lifecycle; /** * * A custom lifecycle mapping definition. * * * @version $Revision$ $Date$ */ @SuppressWarnings("all") public class Lifecycle implements java.io.Serializable { // --------------------------/Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
docs/de/docs/advanced/response-headers.md
Und da die `Response` häufig zum Setzen von Headern und Cookies verwendet wird, stellt **FastAPI** diese auch unter `fastapi.Response` bereit. /// ## Benutzerdefinierte Header { #custom-headers } Beachten Sie, dass benutzerdefinierte proprietäre Header <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">mittels des Präfix `X-`</a> hinzugefügt werden können.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.8K bytes - Viewed (2) -
src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java
import org.apache.catalina.WebResource; import org.apache.catalina.webresources.StandardRoot; /** * Fess-specific web resource root implementation for Tomcat. * This class extends StandardRoot to provide custom web resource handling * for Fess plugins, including support for plugin JAR files in the WEB-INF/plugin directory. */ public class FessWebResourceRoot extends StandardRoot { /** Logger instance for this class */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 3.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/ExtensionRealmCache.java
void flush(); /** * Registers the specified cache record for usage with the given project. Integrators can use the information * collected from this method in combination with a custom cache implementation to dispose unused records from the * cache. * * @param project The project that employs the plugin realm, must not be {@code null}.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/en/docs/advanced/testing-dependencies.md
You probably want to test the external provider once, but not necessarily call it for every test that runs. In this case, you can override the dependency that calls that provider, and use a custom dependency that returns a mock user, only for your tests. ### Use the `app.dependency_overrides` attribute { #use-the-app-dependency-overrides-attribute }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
@ExtendWith(MockitoExtension.class) class SmbUnsupportedOperationExceptionTest { // Provides a variety of messages including edge cases static Stream<String> messages() { return Stream.of("custom message", "", " ", "αβγ", "x".repeat(1000), null); } @Test @DisplayName("Default constructor sets the expected message and no cause") void defaultConstructor_setsExpectedMessage_andNoCause() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0)