Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 191 for filtering (0.07 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

    import jakarta.annotation.Resource;
    
    /**
     * The Crawler class is the main class for web crawling. It manages the crawling process,
     * including adding URLs to the queue, filtering URLs, managing crawler threads,
     * and handling the overall crawling lifecycle.
     *
     * <p>It implements the Runnable interface to be executed in a separate thread,
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 17K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/response-model.md

    在這種情況下,因為兩個模型不同,如果我們把函式回傳型別註解為 `UserOut`,編輯器和工具會抱怨我們回傳了無效的型別,因為它們是不同的類別。
    
    這就是為什麼在這個例子中我們必須在 `response_model` 參數中宣告它。
    
    ...但繼續往下讀看看如何克服這個問題。
    
    ## 回傳型別與資料過濾 { #return-type-and-data-filtering }
    
    讓我們延續前一個範例。我們想要用一種型別來註解函式,但實際上希望能夠從函式回傳包含更多資料的內容。
    
    我們希望 FastAPI 仍然用回應模型來過濾資料。這樣即使函式回傳更多資料,回應中也只會包含回應模型中宣告的欄位。
    
    在前一個例子中,因為類別不同,我們必須使用 `response_model` 參數。但這也代表我們失去了編輯器與工具對函式回傳型別的檢查支援。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  3. fastapi/routing.py

                    * Serialization: you could return an arbitrary object and the
                        `response_model` would be used to serialize that object into the
                        corresponding JSON.
                    * Filtering: the JSON sent to the client will only contain the data
                        (fields) defined in the `response_model`. If you returned an object
                        that contains an attribute `password` but the `response_model` does
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  4. internal/kms/kms.go

    	"github.com/minio/kms-go/kms"
    	"github.com/minio/madmin-go/v3"
    )
    
    // ListRequest is a structure containing fields
    // and options for listing keys.
    type ListRequest struct {
    	// Prefix is an optional prefix for filtering names.
    	// A list operation only returns elements that match
    	// this prefix.
    	// An empty prefix matches any value.
    	Prefix string
    
    	// ContinueAt is the name of the element from where
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 24 15:33:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java

            assertNotNull(response);
            assertEquals(0, response.getNumberOfSuggestDocs());
        }
    
        // ============================================================
        // Tests for bad word filtering
        // ============================================================
    
        @Test
        public void test_indexAllItemsFilteredByBadWords() throws Exception {
            // Add bad words first
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

        //                                                                      ==============
        /**
         * Displays the request header management index page.
         *
         * @param form the search form for filtering
         * @return HTML response for the request header list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            return asListHtml();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

        //                                                                      ==============
        /**
         * Displays the web authentication management index page.
         *
         * @param form the search form for filtering
         * @return HTML response for the web authentication list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            return asListHtml();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

     *   <li>Otherwise, an exception is thrown requiring one of the above options or manual mixin removal</li>
     * </ul>
     * <p>
     * <b>Dependency Filtering</b>: For non-POM projects with dependency management, the builder:
     * <ul>
     *   <li>Filters dependencies to include only those with transitive scopes (compile/runtime)</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

        //                                                                      ==============
        /**
         * Displays the web config management index page.
         *
         * @param form the search form for filtering
         * @return HTML response for the web config list page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            return asListHtml();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  10. fastapi/.agents/skills/fastapi/SKILL.md

    
    @app.get("/items/me", response_model=Item)
    async def get_item() -> Any:
        return {"name": "Foo", "description": "A very nice Item"}
    ```
    
    This can be particularly useful when filtering data to expose only the public fields and avoid exposing sensitive information.
    
    ```python
    from typing import Any
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
Back to Top