Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 3,063 for worm (0.04 sec)

  1. docs/pt/docs/tutorial/request-forms-and-files.md

    /// warning | "Aviso"
    
    Você pode declarar vários parâmetros `File` e `Form` em uma *operação de caminho*, mas não é possível declarar campos `Body` para receber como JSON, pois a requisição terá o corpo codificado usando `multipart/form-data` ao invés de `application/json`.
    
    Isso não é uma limitação do **FastAPI** , é parte do protocolo HTTP.
    
    ///
    
    ## Recapitulando
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

        @Execute
        public ActionResponse index(final CacheForm form) {
            validate(form, messages -> {}, () -> asHtml(virtualHost(path_Error_ErrorJsp)));
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            Map<String, Object> doc = null;
            try {
                doc = searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getCacheResponseFields(), getUserBean()).orElse(null);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. docs_src/request_forms/tutorial001_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, Form
    
    app = FastAPI()
    
    
    @app.post("/login/")
    async def login(username: Annotated[str, Form()], password: Annotated[str, Form()]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 223 bytes
    - Viewed (0)
  4. tests/test_tuples.py

    def test_tuple_form_valid():
        response = client.post("/tuple-form/", data={"values": ("1", "2")})
        assert response.status_code == 200, response.text
        assert response.json() == [1, 2]
    
    
    def test_tuple_form_invalid():
        response = client.post("/tuple-form/", data={"values": ("1", "2", "3")})
        assert response.status_code == 422, response.text
    
        response = client.post("/tuple-form/", data={"values": ("1")})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

        @Execute
        public ActionResponse index(final ThumbnailForm form) {
            validate(form, messages -> {}, () -> asHtml(virtualHost(path_Error_ErrorJsp)));
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            final Map<String, Object> doc =
                    searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getResponseFields(), getUserBean()).orElse(null);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. tests/preload_test.go

    package tests_test
    
    import (
    	"context"
    	"encoding/json"
    	"regexp"
    	"sort"
    	"strconv"
    	"sync"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestPreloadWithAssociations(t *testing.T) {
    	user := *GetUser("preload_with_associations", Config{
    		Account:   true,
    		Pets:      2,
    		Toys:      3,
    		Company:   true,
    		Manager:   true,
    		Team:      4,
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/plugins/form-validator/jsconf.js

    nf"),a.setupValidation=function(b){var c=a(b.form||"form");a.each(b.validate||b.validation||{},function(b,d){var e;e="#"===b[0]?a(b):"."===b[0]?c.find(b):c.find('*[name="'+b+'"]'),e.attr("data-validation",d.validation),a.each(d,function(a,b){"validation"!==a&&b!==!1&&(b===!0&&(b="true"),"_"===a[0]?(a=a.substring(1),b===!1?e.removeAttr(a):e.attr(a,b)):e.valAttr(a,b))})}),a.validate(b)}}(a)});...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 867 bytes
    - Viewed (0)
  8. tests/distinct_test.go

    package tests_test
    
    import (
    	"regexp"
    	"testing"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestDistinct(t *testing.T) {
    	users := []User{
    		*GetUser("distinct", Config{}),
    		*GetUser("distinct", Config{}),
    		*GetUser("distinct", Config{}),
    		*GetUser("distinct-2", Config{}),
    		*GetUser("distinct-3", Config{}),
    	}
    	users[0].Age = 20
    
    	if err := DB.Create(&users).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/pathmap/admin_pathmap.jsp

                                        <div class="form-group row">
                                            <label for="regex" class="col-sm-2 text-sm-right col-form-label"><la:message
                                                    key="labels.regex"/></label>
                                            <div class="col-sm-10">
                                                <la:text styleId="regex" property="regex" styleClass="form-control"/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Mar 31 05:47:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/request-forms-and-files.md

    # 폼 및 파일 요청
    
    `File` 과 `Form` 을 사용하여 파일과 폼을 함께 정의할 수 있습니다.
    
    /// info | "정보"
    
    파일과 폼 데이터를 함께, 또는 각각 업로드하기 위해 먼저 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>를 설치해야합니다.
    
    예 ) `pip install python-multipart`.
    
    ///
    
    ## `File` 및 `Form` 업로드
    
    ```Python hl_lines="1"
    {!../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    ## `File` 및 `Form` 매개변수 정의
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top