Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5891 - 5900 of 9,145 for clase (0.08 seconds)

  1. tests/test_http_connection_injection.py

    @app.websocket("/ws")
    async def get_value_by_ws(
        websocket: WebSocket, value: int = Depends(extract_value_from_http_connection)
    ):
        await websocket.accept()
        await websocket.send_json(value)
        await websocket.close()
    
    
    client = TestClient(app)
    
    
    def test_value_extracting_by_http():
        response = client.get("/http")
        assert response.status_code == 200
        assert response.json() == 42
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 09 13:56:41 GMT 2020
    - 972 bytes
    - Click Count (0)
  2. docs_src/path_operation_configuration/tutorial005_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",
        response_description="The created item",
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 736 bytes
    - Click Count (0)
  3. src/Make.dist

    # The -v causes dist to print the name of each directory as it runs.
    # The -vv causes dist to print each build command as it runs.
    # go tool dist clean cleans all directories, not just this one,
    # but it's as close as we can get.
    
    # Default target (first).
    install:
    	go tool dist install -v
    
    verbose:
    	go tool dist install -vv
    
    clean:
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Feb 08 20:26:47 GMT 2012
    - 553 bytes
    - Click Count (0)
  4. docs_src/settings/app03_an_py39/config.py

    from pydantic_settings import BaseSettings, SettingsConfigDict
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 235 bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @param <V> the value type of {@link EnumMap}
         * @param keyType the class object of the key type for this {@literal enum} map
         * @return a new instance of {@link EnumMap}
         * @see EnumMap#EnumMap(Class)
         */
        public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap(final Class<K> keyType) {
            return new EnumMap<>(keyType);
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/suggest/Suggester.java

     *   <li>{@link #isSuggestIndex(String)}: Checks if the given index name is a suggestion index.</li>
     * </ul>
     */
    public class Suggester {
        private static final Logger logger = LogManager.getLogger(Suggester.class);
    
        /** The expected number of indices for an alias. */
        private static final int EXPECTED_INDEX_COUNT = 1;
    
        /** The OpenSearch client. */
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 21.6K bytes
    - Click Count (3)
  7. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

    import jakarta.annotation.Resource;
    
    /**
     * Service class for managing elevate words functionality.
     * Elevate words are used to boost the relevance of documents containing specific terms in search results.
     * This service provides CRUD operations, CSV import/export, and related functionality.
     */
    public class ElevateWordService {
    
        /** Logger instance for this class */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/beans/Converter.java

         *
         * @param clazz
         *            the type. Must not be {@literal null}
         * @return {@literal true} if this converter can handle the specified type
         */
        boolean isTarget(Class<?> clazz);
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java

    import static org.codelibs.core.collection.ArrayUtil.asArray;
    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class SRuntimeExceptionTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testSeasarRuntimeException() throws Exception {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

     */
    package org.codelibs.core.jar;
    
    import java.io.File;
    import java.net.URL;
    
    import junit.framework.TestCase;
    
    /**
     * @author koichik
     */
    public class JarFileUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToJarFilePath() throws Exception {
            final File f = new File("/Program Files/foo.jar");
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top