Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 1,150 for vorm (0.02 sec)

  1. docs_src/request_forms_and_files/tutorial001.py

    from fastapi import FastAPI, File, Form, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(
        file: bytes = File(), fileb: UploadFile = File(), token: str = Form()
    ):
        return {
            "file_size": len(file),
            "token": token,
            "fileb_content_type": fileb.content_type,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 317 bytes
    - Viewed (0)
  2. docs_src/request_form_models/tutorial001_an.py

    from fastapi import FastAPI, Form
    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
    
    
    @app.post("/login/")
    async def login(data: Annotated[FormData, Form()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 15:16:50 UTC 2024
    - 278 bytes
    - Viewed (0)
  3. docs_src/request_forms_and_files/tutorial001_an.py

    from fastapi import FastAPI, File, Form, UploadFile
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(
        file: Annotated[bytes, File()],
        fileb: Annotated[UploadFile, File()],
        token: Annotated[str, Form()],
    ):
        return {
            "file_size": len(file),
            "token": token,
            "fileb_content_type": fileb.content_type,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 396 bytes
    - Viewed (0)
  4. docs_src/request_forms_and_files/tutorial001_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, File, Form, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(
        file: Annotated[bytes, File()],
        fileb: Annotated[UploadFile, File()],
        token: Annotated[str, Form()],
    ):
        return {
            "file_size": len(file),
            "token": token,
            "fileb_content_type": fileb.content_type,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 386 bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/upgrade/admin_upgrade.jsp

    							<div class="card-body">
    								<div class="form-group row">
    									<label for="targetVersion" class="col-sm-3 text-sm-right col-form-label"><la:message
    											key="labels.target_version"
    										/></label>
    									<div class="col-sm-9">
    										<la:errors property="targetVersion" />
    										<la:select styleId="targetVersion" property="targetVersion" styleClass="form-control">
    											<la:option value="13.0">13.0</la:option>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Sep 22 07:32:24 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py

    
    @needs_py39
    def test_get_root(app: FastAPI):
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200, response.text
        assert b"<form" in response.content
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. errors.go

    package gorm
    
    import (
    	"errors"
    
    	"gorm.io/gorm/logger"
    )
    
    var (
    	// ErrRecordNotFound record not found error
    	ErrRecordNotFound = logger.ErrRecordNotFound
    	// ErrInvalidTransaction invalid transaction when you are trying to `Commit` or `Rollback`
    	ErrInvalidTransaction = errors.New("invalid transaction")
    	// ErrNotImplemented not implemented
    	ErrNotImplemented = errors.New("not implemented")
    	// ErrMissingWhereClause missing where clause
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 02:53:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/profile/index.jsp

    					<div class="input-group mb-3">
    						<c:set var="ph_old_password">
    							<la:message key="labels.profile.placeholder_old_password" />
    						</c:set>
    						<la:password property="oldPassword" class="form-control"
    									 placeholder="${ph_old_password}" />
    						<div class="input-group-append">
    							<span class="input-group-text"><em class="fa fa-lock fa-fw"></span>
    						</div>
    					</div>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

        // POST /api/admin/dict/mapping/upload/{dictId}
        @Execute
        public JsonResponse<ApiResult> post$upload(final String dictId, final UploadForm form) {
            form.dictId = dictId;
            validateApi(form, messages -> {});
            final CharMappingFile file = charMappingService.getCharMappingFile(form.dictId).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

        @Execute
        public JsonResponse<ApiResult> post$upload(final String dictId, final UploadForm form) {
            form.dictId = dictId;
            validateApi(form, messages -> {});
            final StemmerOverrideFile file = stemmerOverrideService.getStemmerOverrideFile(form.dictId).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top