Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 921 - 930 of 1,314 for orjson (0.1 seconds)

  1. src/main/resources/fess_api.xml

    	<component name="chatApiManager" class="org.codelibs.fess.api.chat.ChatApiManager">
    	</component>
    
    	<component name="searchApiManager" class="org.codelibs.fess.api.json.SearchApiManager">
    	</component>
    	<component name="searchEngineApiManager" class="org.codelibs.fess.api.engine.SearchEngineApiManager">
    	</component>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 791 bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/response-model.md

    FastAPI 會使用這個回傳型別來:
    
    * 驗證回傳的資料。
        * 如果資料無效(例如缺少欄位),代表你的應用程式程式碼有問題,沒有回傳應該回傳的內容,FastAPI 會回傳伺服器錯誤,而不是回傳不正確的資料。如此你和你的用戶端都能確定會收到預期的資料與資料結構。
    * 在 OpenAPI 的「路徑操作」中為回應新增 JSON Schema。
        * 這會被自動文件使用。
        * 也會被自動用戶端程式碼產生工具使用。
    * 使用 Pydantic 將回傳資料**序列化**為 JSON,而 Pydantic 是用 **Rust** 撰寫的,因此會 **更快很多**。
    
    但更重要的是:
    
    * 它會將輸出資料限制並過濾為回傳型別中定義的內容。
        * 這對安全性特別重要,下面會再看到更多細節。
    
    ## `response_model` 參數 { #response-model-parameter }
    
    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. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            ApiResult result = errorResponse.result();
    
            assertNotNull(result);
            // Cannot directly access protected fields, just verify the result is not null
        }
    
        // Test configuration for JSON response
        @Test
        public void test_configurationSettings() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  4. internal/auth/credentials_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package auth
    
    import (
    	"encoding/json"
    	"testing"
    	"time"
    )
    
    func TestExpToInt64(t *testing.T) {
    	testCases := []struct {
    		exp             any
    		expectedFailure bool
    	}{
    		{"", true},
    		{"-1", true},
    		{"1574812326", false},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. cmd/object-api-utils_test.go

    // with following object names "\\../.minio.sys/config/iam/${username}/identity.json"
    // #16852
    func testPathTraversalExploit(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    	if err := newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("Initializing config.json failed")
    	}
    
    	objectName := `\../.minio.sys/config/hello.txt`
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  6. tests/test_form_default.py

        assert response.text == "null"
    
    
    def test_form_default_multi_part():
        response = client.post("/multipart", data={"age": ""})
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 829 bytes
    - Click Count (0)
  7. .ci/templates.t/periodic-trigger-lgc.yml

              #!/usr/bin/env bash
              set -o pipefail
              echo "Retrieving last good commit for job '{lgc-job}'"
              echo branch_specifier=$(curl -s "${JENKINS_URL}job/{lgc-job}/lastSuccessfulBuild/api/json" | jq -r -e '.actions | map(select(._class == "hudson.plugins.git.util.BuildData")) | .[] | .lastBuiltRevision.SHA1' || echo "refs/heads/%BRANCH%") > trigger.properties
              echo "Trigger properties:" $(cat trigger.properties)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 1K bytes
    - Click Count (0)
  8. .teamcity/pluginData/Check/plugin-settings.xml

            <build-type id="bt270451" />
          </build-types>
        </webhook>
        <webhook url="https://gradle-bot.grdev.net/teamcity" enabled="true" template="legacy-tailored-json">
          <states>
            <state type="buildAddedToQueue" enabled="false" />
            <state type="buildRemovedFromQueue" enabled="false" />
            <state type="buildStarted" enabled="false" />
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue May 18 02:15:16 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  9. tests/test_security_scopes_sub_dependency.py

        assert call_counts["get_db_session"] == 1
        assert call_counts["get_current_user"] == 2
        assert call_counts["get_user_me"] == 2
        assert call_counts["get_user_items"] == 1
        assert response.json() == {
            "user_me": {
                "user_me": "user_me_1",
                "current_user": {
                    "user": "user_1",
                    "scopes": ["me"],
                    "db_session": "db_session_1",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. docs/ko/docs/advanced/stream-data.md

    # 데이터 스트리밍 { #stream-data }
    
    JSON으로 구조화할 수 있는 데이터를 스트리밍하려면 [JSON Lines 스트리밍](../tutorial/stream-json-lines.md)을 사용하세요.
    
    하지만 순수 바이너리 데이터나 문자열을 스트리밍하려면 다음과 같이 하면 됩니다.
    
    /// info | 정보
    
    FastAPI 0.134.0에 추가되었습니다.
    
    ///
    
    ## 사용 예시 { #use-cases }
    
    예를 들어 AI LLM 서비스의 출력에서 바로 순수 문자열을 스트리밍하고 싶다면 이를 사용할 수 있습니다.
    
    또한 큰 바이너리 파일을 스트리밍하는 데 사용할 수 있습니다. 한 번에 모두 메모리로 읽지 않고, 읽는 즉시 데이터 청크를 순차적으로 스트리밍합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 6.2K bytes
    - Click Count (0)
Back to Top