Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,341 for Field (0.35 sec)

  1. docs_src/schema_extra_example/tutorial002_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str = Field(examples=["Foo"])
        description: Union[str, None] = Field(default=None, examples=["A very nice Item"])
        price: float = Field(examples=[35.4])
        tax: Union[float, None] = Field(default=None, examples=[3.2])
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 517 bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            try {
                Field field = findField(obj.getClass(), fieldName);
                field.setAccessible(true);
                field.set(obj, value);
            } catch (Exception e) {
                throw new RuntimeException("Failed to set field " + fieldName, e);
            }
        }
    
        private Object getFieldValue(Object obj, String fieldName) {
            try {
                Field field = findField(obj.getClass(), fieldName);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java

            when(evaluator.evaluate("fieldValue")).thenReturn("fieldValue");
    
            // Get the field to check its accessibility state
            java.lang.reflect.Field field = TestBean.class.getDeclaredField("directField");
    
            // Verify field is not accessible initially
            boolean initialAccessibility = field.canAccess(bean);
    
            // Set the property using the helper
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 12 14:59:46 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py

                {
                    "type": "missing",
                    "loc": ["body", "file"],
                    "msg": "Field required",
                    "input": None,
                },
                {
                    "type": "missing",
                    "loc": ["body", "fileb"],
                    "msg": "Field required",
                    "input": None,
                },
                {
                    "type": "missing",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                // Verify the fields were set correctly using reflection
                Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel");
                oplockLevelField.setAccessible(true);
                assertEquals(expectedOplockLevel, oplockLevelField.get(notification));
    
                Field fileIdField = Smb2OplockBreakNotification.class.getDeclaredField("fileId");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. schema/utils.go

    	}
    
    	switch reflectValue.Kind() {
    	case reflect.Map:
    		results = [][]interface{}{make([]interface{}, len(fields))}
    		for idx, field := range fields {
    			mapValue := reflectValue.MapIndex(reflect.ValueOf(field.DBName))
    			if mapValue.IsZero() {
    				mapValue = reflectValue.MapIndex(reflect.ValueOf(field.Name))
    			}
    			results[0][idx] = mapValue.Interface()
    		}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 11:15:36 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/common/help.jsp

    		customizable.
    	</dd>
    	<dt>Sort</dt>
    	<dd>
    		sort field sorts documents by a specified field name. The format is
    		"sort:&lt;field&gt;.&lt;order&gt;", where &lt;order&gt; is asc or
    		desc. If you want to find documents which has "Fess" and sort them in
    		descending order, you can enter:
    		<pre>Fess sort:content_length.desc</pre>
    		The available sort field are "created", "content_length" and
    		"last_modified", and they are customizable.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Feb 26 14:01:31 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

    import org.dbflute.optional.OptionalThing;
    
    /**
     * Utility class for managing field configurations with parameter mappings.
     * This class provides functionality to retrieve and manage field-specific configurations
     * from a parameter map.
     */
    public class FieldConfigs {
    
        /**
         * Map containing field names as keys and their corresponding configuration values as values.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. tests/test_request_params/test_body/test_required_str.py

    from typing import Annotated, Any, Union
    
    import pytest
    from dirty_equals import IsOneOf
    from fastapi import Body, FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, Field
    
    from .utils import get_body_model_name
    
    app = FastAPI()
    
    # =====================================================================================
    # Without aliases
    
    
    @app.post("/required-str", operation_id="required_str")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. tests/test_dependency_overrides.py

        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["query", "q"],
                    "msg": "Field required",
                    "input": None,
                }
            ]
        }
    
    
    def test_main_depends_q_foo():
        response = client.get("/main-depends/?q=foo")
        assert response.status_code == 200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top