Search Options

Results per page
Sort
Preferred Languages
Advance

Results 6671 - 6680 of 9,145 for clase (0.15 sec)

  1. docs_src/custom_request_and_route/tutorial002_an_py310.py

    from typing import Annotated
    
    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:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 974 bytes
    - Viewed (0)
  2. docs_src/path_operation_advanced_configuration/tutorial004_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, summary="Create an item")
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 674 bytes
    - Viewed (0)
  3. docs_src/path_operation_configuration/tutorial004_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, summary="Create an item")
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 676 bytes
    - Viewed (0)
  4. 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():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  5. src/main/resources/fess_message_fr.properties

    # Framework Default
    # =================
    # ----------------------------------------------------------
    # Lasta Taglib
    # ------------
    errors.header = <ul class="has-error">
    errors.footer = </ul>
    errors.prefix = <li><i class="fa fa-exclamation-circle"></i>
    errors.suffix = </li>
    # ----------------------------------------------------------
    # Javax Validator
    # ---------------
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/main/resources/fess_message_zh_CN.properties

    # Framework Default
    # =================
    # ----------------------------------------------------------
    # Lasta Taglib
    # ------------
    errors.header = <ul class="has-error">
    errors.footer = </ul>
    errors.prefix = <li><i class="fa fa-exclamation-circle"></i>
    errors.suffix = </li>
    # ----------------------------------------------------------
    # Javax Validator
    # ---------------
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/QueryResponseList.java

     * This class wraps search results with pagination information, facet responses, and query statistics.
     * It implements the List interface to provide standard list operations while adding search-specific
     * functionality such as page navigation, record counts, and query execution times.
     */
    public class QueryResponseList implements List<Map<String, Object>> {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

    import static eu.maveniverse.domtrip.maven.MavenPomElements.Files.MVN_DIRECTORY;
    import static eu.maveniverse.domtrip.maven.MavenPomElements.ModelVersions.MODEL_VERSION_4_1_0;
    
    /**
     * Base class for upgrade goals containing shared functionality.
     * Subclasses only differ in whether they save modifications to disk.
     *
     * <h2>Supported Upgrades</h2>
     *
     * <h3>Model Version Upgrades</h3>
     * <ul>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. docs/bucket/versioning/README.md

    import io.minio.MinioClient;
    import io.minio.errors.MinioException;
    import java.io.IOException;
    import java.security.InvalidKeyException;
    import java.security.NoSuchAlgorithmException;
    
    public class EnableVersioning {
      /** MinioClient.enableVersioning() example. */
      public static void main(String[] args)
          throws IOException, NoSuchAlgorithmException, InvalidKeyException {
        try {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. internal/grid/manager.go

    	// We manage our own deadlines.
    	conn = deadlineconn.Unwrap(conn)
    	remoteAddr := conn.RemoteAddr().String()
    	// will write an OpConnectResponse message to the remote and log it once locally.
    	defer conn.Close()
    	writeErr := func(err error) {
    		if err == nil {
    			return
    		}
    		if errors.Is(err, io.EOF) {
    			return
    		}
    		gridLogOnceIf(ctx, err, remoteAddr)
    		resp := connectResp{
    			ID:             m.ID,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Nov 12 20:41:41 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top