Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2171 - 2180 of 7,604 for KClass (0.08 sec)

  1. tests/test_custom_route_class.py

    from fastapi.routing import APIRoute
    from fastapi.testclient import TestClient
    from starlette.routing import Route
    
    app = FastAPI()
    
    
    class APIRouteA(APIRoute):
        x_type = "A"
    
    
    class APIRouteB(APIRoute):
        x_type = "B"
    
    
    class APIRouteC(APIRoute):
        x_type = "C"
    
    
    router_a = APIRouter(route_class=APIRouteA)
    router_b = APIRouter(route_class=APIRouteB)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

        boolean getVerbose();
    
        @Nonnull
        PathScope getPathScope();
    
        /**
         * Returns a filter for the types of path (class-path, module-path, …) accepted by the tool.
         * For example, if a Java tools accepts only class-path elements, then the filter should return
         * {@code true} for {@link JavaPathType#CLASSES} and {@code false} for {@link JavaPathType#MODULES}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/schema-extra-example.md

        * `Path()`
        * `Query()`
        * `Header()`
        * `Cookie()`
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. docs_src/generate_clients/tutorial001_py39.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class ResponseMessage(BaseModel):
        message: str
    
    
    @app.post("/items/", response_model=ResponseMessage)
    async def create_item(item: Item):
        return {"message": "item received"}
    
    
    @app.get("/items/", response_model=list[Item])
    async def get_items():
        return [
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 494 bytes
    - Viewed (0)
  5. docs/de/docs/deployment/server-workers.md

    ## Gunicorn und Uvicorn installieren
    
    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]" gunicorn
    
    ---> 100%
    ```
    
    </div>
    
    Dadurch wird sowohl Uvicorn mit zusätzlichen `standard`-Packages (um eine hohe Leistung zu erzielen) als auch Gunicorn installiert.
    
    ## Gunicorn mit Uvicorn-Workern ausführen
    
    Dann können Sie Gunicorn ausführen mit:
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. docs/uk/docs/tutorial/first-steps.md

    ### Перевірте
    
    Відкрийте браузер та введіть адресу <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Ви побачите у відповідь таке повідомлення у форматі JSON:
    
    ```JSON
    {"message": "Hello World"}
    ```
    
    ### Інтерактивна API документація
    
    Перейдемо сюди <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    public class AdminDictSynonymAction extends FessAdminAction {
    
        public static final String ROLE = "admin-dict";
    
        private static final Logger logger = LogManager.getLogger(AdminDictSynonymAction.class);
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/DiscreteDomain.java

     * DiscreteDomain}</a>.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class DiscreteDomain<C extends Comparable> {
    
      /**
       * Returns the discrete domain for values of type {@code Integer}.
       *
       * <p>This method always returns the same object. That object is serializable; deserializing it
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/Config.java

            }
        }
    
        /**
         * This static method registers the SMB URL protocol handler which is
         * required to use SMB URLs with the <tt>java.net.URL</tt> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
         * <blockquote><pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.<init>(URL.java:480)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  10. internal/http/headers.go

    	// Request tags used in GetObjectAttributes
    	Checksum     = "Checksum"
    	StorageClass = "StorageClass"
    	ObjectSize   = "ObjectSize"
    	ObjectParts  = "ObjectParts"
    
    	// S3 storage class
    	AmzStorageClass = "x-amz-storage-class"
    
    	// S3 object version ID
    	AmzVersionID    = "x-amz-version-id"
    	AmzDeleteMarker = "x-amz-delete-marker"
    
    	// S3 object tagging
    	AmzObjectTagging = "X-Amz-Tagging"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top