Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for ctx (0.01 sec)

  1. schema/field.go

    			case int8:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case int16:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case int32:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case uint:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case uint8:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case uint16:
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Nov 22 03:14:36 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial006.py

                {
                    "loc": ["path", "item_id"],
                    "input": "-1",
                    "msg": "Input should be greater than or equal to 0",
                    "type": "greater_than_equal",
                    "ctx": {"ge": 0},
                }
            ]
        }
    
    
    def test_read_items_item_id_greater_than_one_thousand(client: TestClient):
        response = client.get("/items/1001?q=somequery&size=5")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

            final String code = Arrays.stream(langFields)
                    .map(s -> "ctx._source['" + s + "_'+ctx._source." + langField + "]=ctx._source." + s)
                    .collect(Collectors.joining(";"));
            if (logger.isDebugEnabled()) {
                logger.debug("reindex script: {}", code);
            }
            return "if(ctx._source." + langField + "!=null){" + code + "}";
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. tests/serializer_test.go

    	switch value := dbValue.(type) {
    	case []byte:
    		err = field.Set(ctx, dst, bytes.TrimPrefix(value, c.prefix))
    	case string:
    		err = field.Set(ctx, dst, strings.TrimPrefix(value, string(c.prefix)))
    	default:
    		err = fmt.Errorf("unsupported data %#v", dbValue)
    	}
    	return err
    }
    
    func (c *CustomSerializer) Value(ctx context.Context, field *schema.Field, dst reflect.Value, fieldValue interface{}) (interface{}, error) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Nov 22 03:14:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. tests/test_path.py

                {
                    "type": "string_too_short",
                    "loc": ["path", "item_id"],
                    "msg": "String should have at least 3 characters",
                    "input": "fo",
                    "ctx": {"min_length": 3},
                }
            ]
        }
    
    
    def test_path_param_maxlength_foo():
        response = client.get("/path/param-maxlength/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
    - 20.5K bytes
    - Viewed (2)
  6. tests/test_tutorial/test_query_param_models/test_tutorial002.py

                        "input": "150",
                        "ctx": {"le": 100},
                    },
                    {
                        "type": "greater_than_equal",
                        "loc": ["query", "offset"],
                        "msg": "Input should be greater than or equal to 0",
                        "input": "-1",
                        "ctx": {"ge": 0},
                    },
                    {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_query_param_models/test_tutorial001.py

                        "input": "150",
                        "ctx": {"le": 100},
                    },
                    {
                        "type": "greater_than_equal",
                        "loc": ["query", "offset"],
                        "msg": "Input should be greater than or equal to 0",
                        "input": "-1",
                        "ctx": {"ge": 0},
                    },
                    {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. fastapi/exceptions.py

        ) -> None:
            self._errors = errors
            self.endpoint_ctx = endpoint_ctx
    
            ctx = endpoint_ctx or {}
            self.endpoint_function = ctx.get("function")
            self.endpoint_path = ctx.get("path")
            self.endpoint_file = ctx.get("file")
            self.endpoint_line = ctx.get("line")
    
        def errors(self) -> Sequence[Any]:
            return self._errors
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_params_str_validations/test_tutorial003.py

                {
                    "type": "string_too_short",
                    "loc": ["query", "q"],
                    "msg": "String should have at least 3 characters",
                    "input": "qu",
                    "ctx": {"min_length": 3},
                }
            ]
        }
    
    
    def test_query_params_str_validations_q_too_long(client: TestClient):
        response = client.get("/items/", params={"q": "q" * 51})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial005.py

            "detail": [
                {
                    "loc": ["path", "item_id"],
                    "input": "0",
                    "msg": "Input should be greater than 0",
                    "type": "greater_than",
                    "ctx": {"gt": 0},
                }
            ]
        }
    
    
    def test_read_items_item_id_greater_than_one_thousand(client: TestClient):
        response = client.get("/items/1001?q=somequery")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top