Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 683 for punt (0.03 sec)

  1. docs/ja/docs/tutorial/body-updates.md

    ## `PUT`による置換での更新
    
    項目を更新するには<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTPの`PUT`</a>操作を使用することができます。
    
    `jsonable_encoder`を用いて、入力データをJSON形式で保存できるデータに変換することができます(例:NoSQLデータベース)。例えば、`datetime`を`str`に変換します。
    
    ```Python hl_lines="30 31 32 33 34 35"
    {!../../docs_src/body_updates/tutorial001.py!}
    ```
    
    既存のデータを置き換えるべきデータを受け取るために`PUT`は使用されます。
    
    ### 置換についての注意
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

                defaultMap.put(FessEnv.lasta_di_SMART_DEPLOY_MODE, "warm");
                defaultMap.put(FessEnv.DEVELOPMENT_HERE, "true");
                defaultMap.put(FessEnv.ENVIRONMENT_TITLE, "Local Development");
                defaultMap.put(FessEnv.FRAMEWORK_DEBUG, "false");
                defaultMap.put(FessEnv.TIME_ADJUST_TIME_MILLIS, "0");
                defaultMap.put(FessEnv.MAIL_SEND_MOCK, "true");
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/admin/UserTests.java

            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("password", "password" + id);
            requestBody.put("confirm_password", "password" + id);
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("name", NAME_PREFIX + "new");
            return updateMap;
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py

        }
    
    
    @needs_py39
    def test_post_no_body_q_bar(client: TestClient):
        response = client.put("/items/5?q=bar", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5, "q": "bar"}
    
    
    @needs_py39
    def test_post_no_body(client: TestClient):
        response = client.put("/items/5", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5}
    
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

                        if (resources.containsKey(key)) {
                            queryMap.put(key, value);
                        } else {
                            queryMap.put(fileType.toUpperCase(Locale.ROOT), value);
                        }
                    }
                }
                queryMap.remove("labels.facet_filetype_others");
                queryMap.put("labels.facet_filetype_others", "filetype:others");
                if (logger.isDebugEnabled()) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/admin/BoostDocTests.java

            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("boost_expr", new Integer(id).toString());
            requestBody.put("sort_order", id);
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("boost_expr", "new_boost_expr");
            return updateMap;
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/CrudTestBase.java

                requestBody.put("version_no", 1);
                final String idKey = getIdKey();
                if (setting.containsKey(idKey)) {
                    requestBody.put(idKey, setting.get(idKey));
                }
                for (String key : keySet) {
                    if (!requestBody.containsKey(key)) {
                        requestBody.put(key, setting.get(key));
                    }
                }
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_body_multiple_params/test_tutorial001_an.py

            },
            "q": "bar",
        }
    
    
    def test_post_no_body_q_bar(client: TestClient):
        response = client.put("/items/5?q=bar", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5, "q": "bar"}
    
    
    def test_post_no_body(client: TestClient):
        response = client.put("/items/5", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5}
    
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. docs/minio-limits.md

    ```
    PUT <bucketname>/a/b/1.txt
    PUT <bucketname>/a/b
    ```
    
    ```
    PUT <bucketname>/a/b
    PUT <bucketname>/a/b/1.txt
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. internal/bpool/bpool.go

    		b = reedsolomon.AllocAligned(1, bp.wcap)[0][:bp.w]
    	}
    	return
    }
    
    // Put returns the given Buffer to the BytePool.
    func (bp *BytePoolCap) Put(b []byte) {
    	if bp == nil {
    		return
    	}
    
    	if cap(b) != bp.wcap {
    		// someone tried to put back buffer which is not part of this buffer pool
    		// we simply don't put this back into pool, a modified buffer provided
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top