Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 3,262 for fora (0.06 seconds)

  1. docs/zh-hant/docs/tutorial/request-forms-and-files.md

    以與 `Body` 或 `Query` 相同的方式建立檔案與表單參數:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *}
    
    檔案與表單欄位會作為表單資料上傳,而你將能接收到這些檔案與欄位。
    
    你也可以將部分檔案宣告為 `bytes`,另一些宣告為 `UploadFile`。
    
    /// warning
    
    你可以在一個路徑操作 (path operation) 中宣告多個 `File` 與 `Form` 參數,但不能同時再宣告預期以 JSON 接收的 `Body` 欄位,因為該請求的本文會使用 `multipart/form-data` 而非 `application/json` 進行編碼。
    
    這不是 **FastAPI** 的限制,這是 HTTP 通訊協定本身的規範。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  2. tests/test_multipart_installation.py

        with pytest.raises(RuntimeError, match=multipart_incorrect_install_error):
            app = FastAPI()
    
            @app.post("/")
            async def root(username: str = Form(), password: str = Form()):
                return username  # pragma: nocover
    
    
    def test_incorrect_multipart_installed_form_file(monkeypatch):
        monkeypatch.setattr("python_multipart.__version__", "0.0.12")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Oct 27 21:46:26 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  3. src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader_edit.jsp

                                            <la:text styleId="name" property="name" styleClass="form-control"/>
                                        </div>
                                    </div>
                                    <div class="form-group row">
                                        <label for="value" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.reqheader_value"/></label>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  4. tests/test_forms_single_param.py

    from typing import Annotated
    
    from fastapi import FastAPI, Form
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    
    @app.post("/form/")
    def post_form(username: Annotated[str, Form()]):
        return username
    
    
    client = TestClient(app)
    
    
    def test_single_form_field():
        response = client.post("/form/", data={"username": "Rick"})
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/CreateForm.java

        @CustomSize(maxKey = "form.admin.max.input.size")
        public String includedDocPaths;
    
        /** The document paths to exclude from search results (pattern-based). */
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String excludedDocPaths;
    
        /** Additional configuration parameters for the file crawler. */
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String configParameter;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. src/main/webapp/css/bootstrap.min.css

    ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion:reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control-plaintext::-moz-placeholder,.form-floating>.form-control::-moz-placeholder{color:transparent}.form-floating>.form-control-plaintext::placeholder,.form-floating>.form-control::placeholder{color:transparent}.form-floating>.form-control-plaintext:not(:-moz-placeholder-shown),.form-floatin...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 227.5K bytes
    - Click Count (0)
  7. docs/pt/docs/_llm-test.md

    Os testes adicionados aqui serão vistos por todos os designers dos prompts específicos de idioma.
    
    Use da seguinte forma:
    
    * Tenha um prompt específico do idioma – `docs/{language code}/llm-prompt.md`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/view/admin/boostdoc/admin_boostdoc_edit.jsp

                                                         rows="5"/>
                                        </div>
                                    </div>
                                    <div class="form-group row">
                                        <label for="boostExpr" class="col-sm-3 text-sm-right col-form-label"><la:message
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    form.autoExpandReplicasForDoc)) {
                saveInfo(messages -> messages.addSuccessStartedDataUpdate(GLOBAL));
            }
            return redirect(getClass());
        }
    
        /**
         * Reloads the document index by closing and reopening it.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 23K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig.jsp

                                        <div class="form-group row">
                                            <label for="name" class="col-sm-2 text-sm-right col-form-label"><la:message
                                                    key="labels.name"/></label>
                                            <div class="col-sm-10">
                                                <la:text styleId="name" property="name" styleClass="form-control"/>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top