Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 1,598 for yield (0.02 seconds)

  1. docs_src/dataclasses_/tutorial002_py310.py

    from dataclasses import dataclass, field
    
    from fastapi import FastAPI
    
    
    @dataclass
    class Item:
        name: str
        price: float
        tags: list[str] = field(default_factory=list)
        description: str | None = None
        tax: float | None = None
    
    
    app = FastAPI()
    
    
    @app.get("/items/next", response_model=Item)
    async def read_next_item():
        return {
            "name": "Island In The Moon",
            "price": 12.99,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 506 bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/StatsTests.java

            assertTrue(response.contains("response"), "Response should contain 'response' field");
            assertTrue(response.contains("status"), "Response should contain 'status' field");
            assertTrue(response.contains("version"), "Response should contain 'version' field");
    
            // Verify response can be parsed as JSON
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

        }
    
        // Test to verify the logger field is properly initialized
        @Test
        public void test_loggerFieldInitialization() throws Exception {
            // Use reflection to access the private logger field
            Field loggerField = FessCurtainFinallyHook.class.getDeclaredField("logger");
            loggerField.setAccessible(true);
    
            Object logger = loggerField.get(null); // static field
    
            // Verify logger is not null
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. docs/en/docs/how-to/separate-openapi-schemas.md

    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *}
    
    ...then the `description` field will **not be required**. Because it has a default value of `None`.
    
    ### Input Model in Docs { #input-model-in-docs }
    
    You can confirm that in the docs, the `description` field doesn't have a **red asterisk**, it's not marked as required:
    
    <div class="screenshot">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/SMBSigningDigest.java

    public interface SMBSigningDigest {
    
        /**
         * Performs MAC signing of the SMB. This is done as follows.
         * The signature field of the SMB is overwritten with the sequence number;
         * The MD5 digest of the MAC signing key + the entire SMB is taken;
         * The first 8 bytes of this are placed in the signature field.
         *
         * @param data
         *            The data.
         * @param offset
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

            SuggestSettings settings = suggester.settings();
            String field = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS)[0];
    
            QueryLog[] queryLogs = new QueryLog[3];
            queryLogs[0] = new QueryLog(field + ":検索", null);
            queryLogs[1] = new QueryLog(field + ":fess", null);
            queryLogs[2] = new QueryLog(field + ":エンジン", null);
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

         */
        Waiter(boolean unused) {}
    
        Waiter() {
          // avoid volatile write, write is made visible by subsequent CAS on waitersField field
          putThread(this, Thread.currentThread());
        }
    
        // non-volatile write to the next field. Should be made visible by a subsequent CAS on
        // waitersField.
        void setNext(@Nullable Waiter next) {
          putNext(this, next);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 33.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                // Verify private fields using reflection
                Field bindingField = DcerpcBind.class.getDeclaredField("binding");
                bindingField.setAccessible(true);
                assertSame(mockBinding, bindingField.get(bindWithParams), "Binding should be set");
    
                Field maxXmitField = DcerpcBind.class.getDeclaredField("max_xmit");
                maxXmitField.setAccessible(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityTest.java

        }
    
        // Helper methods
        private void setPrivateField(Object target, String fieldName, Object value) throws Exception {
            Field field = findField(target.getClass(), fieldName);
            field.setAccessible(true);
            field.set(target, value);
        }
    
        private Field findField(Class<?> clazz, String fieldName) {
            while (clazz != null) {
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. tests/test_security_oauth2_optional.py

                {
                    "type": "missing",
                    "loc": ["body", "grant_type"],
                    "msg": "Field required",
                    "input": None,
                },
                {
                    "type": "missing",
                    "loc": ["body", "username"],
                    "msg": "Field required",
                    "input": None,
                },
                {
                    "type": "missing",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.8K bytes
    - Click Count (0)
Back to Top