Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 353 for excepciones (0.05 seconds)

  1. tests/test_response_model_invalid.py

    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import FastAPIError
    
    
    class NonPydanticModel:
        pass
    
    
    def test_invalid_response_model_raises():
        with pytest.raises(FastAPIError):
            app = FastAPI()
    
            @app.get("/", response_model=NonPydanticModel)
            def read_root():
                pass  # pragma: nocover
    
    
    def test_invalid_response_model_sub_type_raises():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    But it's there for you if you need it. 🤓
    
    ///
    
    {* ../../docs_src/dependencies/tutorial008b_an_py39.py hl[18:22,31] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/handling-errors.md

    Sie können diese Exceptionhandler mit Ihren eigenen überschreiben.
    
    ### Überschreiben von Request-Validierungs-Exceptions { #override-request-validation-exceptions }
    
    Wenn ein Request ungültige Daten enthält, löst **FastAPI** intern einen `RequestValidationError` aus.
    
    Und es enthält auch einen Default-Exceptionhandler für diesen.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassAnalysisException.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.basics.classanalysis
    
    import org.gradle.internal.exceptions.Contextual
    
    
    @Contextual
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 821 bytes
    - Click Count (0)
  5. docs_src/custom_request_and_route/tutorial002_an_py39.py

    from typing import Annotated, Callable
    
    from fastapi import Body, FastAPI, HTTPException, Request, Response
    from fastapi.exceptions import RequestValidationError
    from fastapi.routing import APIRoute
    
    
    class ValidationErrorLoggingRoute(APIRoute):
        def get_route_handler(self) -> Callable:
            original_route_handler = super().get_route_handler()
    
            async def custom_route_handler(request: Request) -> Response:
                try:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 947 bytes
    - Click Count (0)
  6. docs_src/custom_request_and_route/tutorial002_py310.py

    from collections.abc import Callable
    
    from fastapi import Body, FastAPI, HTTPException, Request, Response
    from fastapi.exceptions import RequestValidationError
    from fastapi.routing import APIRoute
    
    
    class ValidationErrorLoggingRoute(APIRoute):
        def get_route_handler(self) -> Callable:
            original_route_handler = super().get_route_handler()
    
            async def custom_route_handler(request: Request) -> Response:
                try:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 935 bytes
    - Click Count (0)
  7. architecture/standards/0009-use-american-english.md

    * **Consistency with dependencies**: Gradle's ecosystem and dependencies predominantly use American English
    
    ### Exceptions
    
    Some legitimate exceptions exist where British English or other variants must be preserved:
    
    * **Third-party APIs and libraries**: When integrating with external APIs that use different spelling conventions
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 25 07:01:54 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Base class for all maven exceptions.
     *
     * @since 4.0.0
     */
    @Experimental
    public class MavenException extends RuntimeException {
    
        public MavenException() {}
    
        public MavenException(String message) {
            super(message);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/hash/BloomFilterTest.java

              }
            };
    
        List<Throwable> exceptions = runThreadsAndReturnExceptions(numThreads, task);
    
        assertThat(exceptions).isEmpty();
      }
    
      private static List<Throwable> runThreadsAndReturnExceptions(int numThreads, Runnable task) {
        List<Thread> threads = new ArrayList<>(numThreads);
        List<Throwable> exceptions = new ArrayList<>(numThreads);
        for (int i = 0; i < numThreads; i++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/NtlmAuthenticator.java

     */
    
    package jcifs.smb;
    
    /**
     * This class can be extended by applications that wish to trap authentication related exceptions and automatically
     * retry the exceptional operation with different credentials. Read <a href="../../../authhandler.html">jCIFS Exceptions
     * and NtlmAuthenticator</a> for complete details.
     */
    
    /**
     * An abstract class for NTLM authentication.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top