Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 83 for setattr (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/dependencies/utils.py

                isinstance(field_info, params.Param)
                and getattr(field_info, "in_", None) is None
            ):
                field_info.in_ = params.ParamTypes.query
            use_annotation_from_field_info = use_annotation
            if isinstance(field_info, params.Form):
                ensure_multipart_is_installed()
            if not field_info.alias and getattr(field_info, "convert_underscores", None):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  2. fastapi/exception_handlers.py

    from starlette.responses import JSONResponse, Response
    from starlette.status import WS_1008_POLICY_VIOLATION
    
    
    async def http_exception_handler(request: Request, exc: HTTPException) -> Response:
        headers = getattr(exc, "headers", None)
        if not is_body_allowed_for_status_code(exc.status_code):
            return Response(status_code=exc.status_code, headers=headers)
        return JSONResponse(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 16 17:21:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. fastapi/types.py

    from enum import Enum
    from typing import Any, TypeVar, Union
    
    from pydantic import BaseModel
    from pydantic.main import IncEx as IncEx
    
    DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
    UnionType = getattr(types, "UnionType", Union)
    ModelNameMap = dict[type[BaseModel] | type[Enum], str]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 438 bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            // Set to false
            request.setResolveInDfs(false);
            assertFalse(request.isResolveInDfs());
        }
    
        @Test
        @DisplayName("Test security flags setter")
        void testSetSecurityFlags() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            request.setSecurityFlags((byte) 0x01);
            // Verify through writeBytesWireFormat
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

        }
    
        // Test namespace setter
        @Test
        public void test_namespace() {
            String testNamespace = "test_namespace";
            CrawlJob result = crawlJob.namespace(testNamespace);
            assertEquals(testNamespace, crawlJob.namespace);
            assertSame(crawlJob, result);
        }
    
        // Test documentExpires setter
        @Test
        public void test_documentExpires() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/beans/PropertyDesc.java

         */
        boolean hasReadMethod();
    
        /**
         * Returns the setter method.
         *
         * @return the setter method
         */
        Method getWriteMethod();
    
        /**
         * Returns whether the property has a setter method.
         *
         * @return whether the property has a setter method
         */
        boolean hasWriteMethod();
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

            String title = Character.toTitleCase(propertyName.charAt(0)) + propertyName.substring(1);
    
            // Try setter first
            MethodInfo setter = classMethodCache.get("set" + title);
            if (setter != null && isMethodCompatible(setter.method, valueType)) {
                return setter;
            }
    
            // Try adder
            MethodInfo adder = classMethodCache.get("add" + title);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. build-conventions/src/main/java/org/elasticsearch/gradle/internal/checkstyle/MissingJavadocTypeCheck.java

         */
        private List<String> skipAnnotations = Collections.singletonList("Generated");
    
        /**
         * Setter to specify the visibility scope where Javadoc comments are checked.
         *
         * @param scope a scope.
         */
        public void setScope(Scope scope) {
            this.scope = scope;
        }
    
        /**
         * Setter to specify the visibility scope where Javadoc comments are not checked.
         *
         * @param excludeScope a scope.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 10 23:06:44 GMT 2021
    - 5.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test subCommand getter and setter")
        void testSubCommandGetterSetter() {
            byte subcommand = (byte) 0x05;
            response.setSubCommand(subcommand);
            assertEquals(subcommand, response.getSubCommand());
        }
    
        @Test
        @DisplayName("Test status getter and setter")
        void testStatusGetterSetter() {
            assertEquals(0, response.getStatus());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java

         */
        @Test
        public void test_constructor() {
            FessIntervalController controller = new FessIntervalController();
            assertNotNull(controller);
        }
    
        /**
         * Test getter and setter for delayMillisAfterProcessing
         */
        @Test
        public void test_delayMillisAfterProcessing() {
            FessIntervalController controller = new FessIntervalController();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.2K bytes
    - Click Count (0)
Back to Top