Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,167 for yields (0.04 sec)

  1. docs/en/docs/tutorial/header-param-models.md

    In some special use cases (probably not very common), you might want to **restrict** the headers that you want to receive.
    
    You can use Pydantic's model configuration to `forbid` any `extra` fields:
    
    {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *}
    
    If a client tries to send some **extra headers**, they will receive an **error** response.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

         * @param boost the boost value
         * @param readings the list of readings
         * @param fields the list of fields
         * @param tags the list of tags
         * @param roles the list of roles
         */
        public ElevateWord(final String elevateWord, final float boost, final List<String> readings, final List<String> fields,
                final List<String> tags, final List<String> roles) {
            this.elevateWord = elevateWord;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

        /**
         * Parses a document and extracts suggest items based on the provided fields and converters.
         *
         * @param document The document to parse, represented as a map of field names to values.
         * @param fields The fields to extract from the document.
         * @param tagFieldNames The names of the fields that contain tags.
         * @param roleFieldName The name of the field that contains role information.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. schema/index.go

    				if idx.Option == "" {
    					idx.Option = index.Option
    				}
    
    				idx.Fields = append(idx.Fields, index.Fields...)
    				sort.Slice(idx.Fields, func(i, j int) bool {
    					return idx.Fields[i].Priority < idx.Fields[j].Priority
    				})
    			}
    		}
    	}
    	for _, index := range indexes {
    		if index.Class == "UNIQUE" && len(index.Fields) == 1 {
    			index.Fields[0].Field.UniqueIndex = index.Name
    		}
    	}
    	return indexes
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed May 21 02:35:56 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/request-form-models.md

    <div class="screenshot">
    <img src="/img/tutorial/request-form-models/image01.png">
    </div>
    
    ## Forbid Extra Form Fields { #forbid-extra-form-fields }
    
    In some special use cases (probably not very common), you might want to **restrict** the form fields to only those declared in the Pydantic model. And **forbid** any **extra** fields.
    
    /// note
    
    This is supported since FastAPI version `0.114.0`. 🤓
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

         * @param fields array of fields to search in
         * @param excludes array of words to exclude from results
         * @return list of popular words matching the criteria
         */
        public List<String> getWordList(final SearchRequestType searchRequestType, final String seed, final String[] tags, final String[] roles,
                final String[] fields, final String[] excludes) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java

     * <li>{@link #QUERY_FREQ} - The query frequency field.</li>
     * <li>{@link #DOC_FREQ} - The document frequency field.</li>
     * <li>{@link #USER_BOOST} - The user boost field.</li>
     * <li>{@link #KINDS} - The kinds field.</li>
     * <li>{@link #TIMESTAMP} - The timestamp field.</li>
     * <li>{@link #TAGS} - The tags field.</li>
     * <li>{@link #ROLES} - The roles field.</li>
     * <li>{@link #FIELDS} - The fields field.</li>
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. internal/event/target/nsq_test.go

    )
    
    func TestNSQArgs_Validate(t *testing.T) {
    	type fields struct {
    		Enable      bool
    		NSQDAddress xnet.Host
    		Topic       string
    		TLS         struct {
    			Enable     bool
    			SkipVerify bool
    		}
    	}
    	tests := []struct {
    		name    string
    		fields  fields
    		wantErr bool
    	}{
    		{
    			name: "test1_missing_topic",
    			fields: fields{
    				Enable: true,
    				NSQDAddress: xnet.Host{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. tests/test_dependency_yield_scope.py

    
    class Session:
        def __init__(self) -> None:
            self.open = True
    
    
    def dep_session() -> Any:
        s = Session()
        yield s
        s.open = False
    
    
    def raise_after_yield() -> Any:
        yield
        raise HTTPException(status_code=503, detail="Exception after yield")
    
    
    SessionFuncDep = Annotated[Session, Depends(dep_session, scope="function")]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        void testConstantsArePublicStaticFinal() {
            Field[] fields = SecurityInfo.class.getDeclaredFields();
    
            for (Field field : fields) {
                int modifiers = field.getModifiers();
                assertTrue(Modifier.isPublic(modifiers), "Field " + field.getName() + " should be public");
                assertTrue(Modifier.isStatic(modifiers), "Field " + field.getName() + " should be static");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top