Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,308 for Sath (0.03 sec)

  1. docs/en/docs/advanced/openapi-webhooks.md

    ///
    
    Notice that with webhooks you are actually not declaring a *path* (like `/items/`), the text you pass there is just an **identifier** of the webhook (the name of the event), for example in `@app.webhooks.post("new-subscription")`, the webhook name is `new-subscription`.
    
    This is because it is expected that **your users** would define the actual **URL path** where they want to receive the webhook request in some other way (e.g. a web dashboard).
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                                final String entryName = entry.getName();
                                if (entryName.endsWith("/") && entryName.startsWith(path) && entryName.length() > path.length() + 1) {
                                    final String name = entryName.substring(path.length() + 1, entryName.length() - 1);
                                    if (name.indexOf('/') == -1) {
                                        subPackages.add(name);
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. cmd/metrics-v3-system-cpu.go

    		m.Set(sysCPULoadPerc, math.Round(perc*100)/100)
    	}
    
    	ts := cpuMetrics.TimesStat
    	if ts != nil {
    		tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    		cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    		m.Set(sysCPUUser, cpuUserVal)
    		cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    		m.Set(sysCPUSystem, cpuSystemVal)
    		cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_files/test_tutorial001_02.py

    
    def test_post_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_upload_file(tmp_path):
        path = tmp_path / "test.txt"
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/dependencies/index.md

    ### 依存関係の作成
    
    まずは依存関係に注目してみましょう。
    
    以下のように、*path operation関数*と同じパラメータを全て取ることができる関数にすぎません:
    
    ```Python hl_lines="8 9"
    {!../../docs_src/dependencies/tutorial001.py!}
    ```
    
    これだけです。
    
    **2行**。
    
    そして、それはすべての*path operation関数*が持っているのと同じ形と構造を持っています。
    
    「デコレータ」を含まない(`@app.get("/some-path")`を含まない)*path operation関数*と考えることもできます。
    
    そして何でも返すことができます。
    
    この場合、この依存関係は以下を期待しています:
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_header_params/test_tutorial002_an.py

            (
                "/items",
                {"strange-header": "Not really underscore"},
                200,
                {"strange_header": None},
            ),
        ],
    )
    def test(path, headers, expected_status, expected_response):
        response = client.get(path, headers=headers)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    def test_openapi_schema():
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. docs/tls/kubernetes/README.md

    ```yaml
        volumes:
          - name: secret-volume
            secret:
              secretName: tls-ssl-minio
              items:
              - key: public.crt
                path: public.crt
              - key: private.key
                path: private.key
              - key: public.crt
                path: CAs/public.crt
    ```
    
    Note that the `secretName` should be same as the secret name created in previous step. Then add the below section under
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 3K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    	return nil
    }
    
    func getValidPath(path string) (string, error) {
    	if path == "" {
    		return path, errInvalidArgument
    	}
    
    	var err error
    	// Disallow relative paths, figure out absolute paths.
    	path, err = filepath.Abs(path)
    	if err != nil {
    		return path, err
    	}
    
    	fi, err := Lstat(path)
    	if err != nil && !osIsNotExist(err) {
    		return path, err
    	}
    	if osIsNotExist(err) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (2)
  9. internal/disk/type_windows.go

    package disk
    
    import (
    	"path/filepath"
    	"syscall"
    	"unsafe"
    )
    
    // GetVolumeInformation provides windows drive volume information.
    var GetVolumeInformation = kernel32.NewProc("GetVolumeInformationW")
    
    // getFSType returns the filesystem type of the underlying mounted filesystem
    func getFSType(path string) string {
    	volumeNameSize, nFileSystemNameSize := uint32(260), uint32(260)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/additional-responses.md

    <img src="/img/tutorial/additional-responses/image01.png">
    
    ## Combine predefined responses and custom ones
    
    You might want to have some predefined responses that apply to many *path operations*, but you want to combine them with custom responses needed by each *path operation*.
    
    For those cases, you can use the Python technique of "unpacking" a `dict` with `**dict_to_unpack`:
    
    ```Python
    old_dict = {
        "old key": "old value",
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top