Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,211 for spath (0.09 sec)

  1. tests/test_tutorial/test_first_steps/test_tutorial001.py

    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. cmd/background-newdisks-heal-ops_gen.go

    				return
    			}
    		case "DiskIndex":
    			z.DiskIndex, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "DiskIndex")
    				return
    			}
    		case "Path":
    			z.Path, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Path")
    				return
    			}
    		case "Endpoint":
    			z.Endpoint, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Endpoint")
    				return
    			}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 20 15:42:49 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. docs/ja/docs/advanced/custom-response.md

    しかし、`Response` を直接返すと、データは自動的に変換されず、ドキュメントも自動生成されません (例えば、生成されるOpenAPIの一部としてHTTPヘッダー `Content-Type` に特定の「メディアタイプ」を含めるなど) 。
    
    しかし、*path operationデコレータ* に、使いたい `Response` を宣言することもできます。
    
    *path operation関数* から返されるコンテンツは、その `Response` に含まれます。
    
    そしてもし、`Response` が、`JSONResponse` や `UJSONResponse` の場合のようにJSONメディアタイプ (`application/json`) ならば、データは *path operationデコレータ* に宣言したPydantic `response_model` により自動的に変換 (もしくはフィルタ) されます。
    
    /// note | "備考"
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

        protected boolean usePipeline = false;
    
        public void addIndexConfig(final String path) {
            indexConfigList.add(path);
        }
    
        public void addConfigFile(final String index, final String path) {
            configListMap.computeIfAbsent(index, k -> new ArrayList<>()).add(path);
        }
    
        public void setSettings(final Map<String, String> settings) {
            this.settings = settings;
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  5. .github/workflows/test.yml

              pattern: coverage-*
              path: coverage
              merge-multiple: true
          - run: ls -la coverage
          - run: coverage combine coverage
          - run: coverage report
          - run: coverage html --title "Coverage for ${{ github.sha }}"
          - name: Store coverage HTML
            uses: actions/upload-artifact@v4
            with:
              name: coverage-html
              path: htmlcov
              include-hidden-files: true
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. misc/ios/README

    Setting CC is not necessary if the toolchain is built with CC_FOR_TARGET set.
    
    To use the go tool to run individual programs and tests, put $GOROOT/bin into PATH to ensure
    the go_ios_$GOARCH_exec wrapper is found. For example, to run the archive/tar tests:
    
    	export PATH=$GOROOT/bin:$PATH
    	GOOS=ios GOARCH=amd64 CGO_ENABLED=1 go test archive/tar
    
    The go_ios_exec wrapper uses GOARCH to select the emulator (amd64) or the device (arm64).
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Tue Dec 29 21:49:26 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  7. tensorflow/c/c_test.c

      struct TF_StringStream* s = TF_GetLocalTempDirectories();
      const char* path;
    
      if (!TF_StringStreamNext(s, &path)) {
        fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n");
        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

                if (response.getHttpStatusCode() == 200) {
                    logger.info("Updated {}", path);
                } else if (response.getContentException() != null) {
                    logger.warn("{} is invalid path.", path, response.getContentException());
                } else {
                    logger.warn("{} is invalid path. The response is {}", path, response.getContentAsString());
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 54K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

        List<SynonymItem> synonymItemList;
    
        public SynonymFile(final String id, final String path, final Date timestamp) {
            super(id, path, timestamp);
        }
    
        @Override
        public String getType() {
            return SYNONYM;
        }
    
        @Override
        public String getPath() {
            return path;
        }
    
        @Override
        public synchronized OptionalEntity<SynonymItem> get(final long id) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/storage/admin_storage.jsp

                                                         enctype="multipart/form-data" styleClass="modal-content">
                                                    <input type="hidden" name="path" value="${f:h(path)}"/>
                                                    <div class="modal-header">
                                                        <h4 class="modal-title">
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu May 26 01:48:41 UTC 2022
    - 20.4K bytes
    - Viewed (0)
Back to top