Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5151 - 5160 of 9,145 for clase (0.27 seconds)

  1. docs_src/body_multiple_params/tutorial001_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Path
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: Union[str, None] = None,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 596 bytes
    - Click Count (0)
  2. docs_src/path_operation_advanced_configuration/tutorial007_pv1_py39.py

    import yaml
    from fastapi import FastAPI, HTTPException, Request
    from pydantic.v1 import BaseModel, ValidationError
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        tags: list[str]
    
    
    @app.post(
        "/items/",
        openapi_extra={
            "requestBody": {
                "content": {"application/x-yaml": {"schema": Item.schema()}},
                "required": True,
            },
        },
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 767 bytes
    - Click Count (0)
  3. docs_src/path_operation_advanced_configuration/tutorial007_py39.py

    import yaml
    from fastapi import FastAPI, HTTPException, Request
    from pydantic import BaseModel, ValidationError
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        tags: list[str]
    
    
    @app.post(
        "/items/",
        openapi_extra={
            "requestBody": {
                "content": {"application/x-yaml": {"schema": Item.model_json_schema()}},
                "required": True,
            },
        },
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 797 bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

    import static org.junit.Assert.assertThat;
    import static org.junit.Assert.assertTrue;
    
    import java.lang.reflect.Array;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class ArrayUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testAsArray() throws Exception {
            assertArrayEquals(new int[] { 1, 2 }, ArrayUtil.asIntArray(1, 2));
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

     * This class provides a flexible architecture using a chain of filters to process and transform
     * queries before they are parsed by the underlying Lucene query parser.
     *
     * <p>The parser supports configuration of default field, analyzer, wildcard settings,
     * and default operator. It also allows adding custom filters to modify query behavior.</p>
     *
     */
    public class QueryParser {
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

    /**
     * JUnit 5 tests for {@link TestLocking}.
     * Tests command line argument parsing and basic field initialization.
     * Does not require a real SMB server - focuses on application logic.
     */
    @ExtendWith(MockitoExtension.class)
    class TestLockingTest {
    
        private PrintStream originalOut;
        private PrintStream originalErr;
        private ByteArrayOutputStream outContent;
        private ByteArrayOutputStream errContent;
    
        @Mock
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. cmd/signature-v2.go

    		keyval := strings.SplitN(query, "=", 2)
    		if len(keyval) != 2 {
    			return ErrInvalidQueryParams
    		}
    		switch keyval[0] {
    		case xhttp.AmzAccessKeyID:
    			accessKey = keyval[1]
    		case xhttp.AmzSignatureV2:
    			gotSignature = keyval[1]
    		case xhttp.Expires:
    			expires = keyval[1]
    		default:
    			filteredQueries = append(filteredQueries, query)
    		}
    	}
    
    	// Invalid values returns error.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java

    import java.io.InputStream;
    import java.util.jar.JarEntry;
    import java.util.jar.JarInputStream;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * Utility class for {@link JarInputStream} operations.
     *
     * @author koichik
     */
    public abstract class JarInputStreamUtil {
    
        /**
         * Do not instantiate.
         */
        protected JarInputStreamUtil() {
        }
    
        /**
         * Creates a {@link JarInputStream}.
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Represents the response of a suggest delete operation.
     * This class contains information about any errors that occurred during the operation
     * and the time taken to complete the operation.
     */
    public class SuggestDeleteResponse {
        /** List of errors that occurred during the operation. */
        protected final List<Throwable> errors = new ArrayList<>();
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/exbhv/ScheduledJobBhv.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    
    /**
     * @author FreeGen
     */
    public class ScheduledJobBhv extends BsScheduledJobBhv {
    
        private static final Logger logger = LogManager.getLogger(ScheduledJobBhv.class);
    
        private String indexName = null;
    
        @Override
        protected String asEsIndex() {
            if (indexName == null) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top