Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,921 for data1 (0.07 sec)

  1. internal/config/bool-flag_test.go

    	}
    
    	for _, testCase := range testCases {
    		data, _ := testCase.flag.MarshalJSON()
    		if testCase.expectedResult != string(data) {
    			t.Fatalf("expected: %v, got: %v", testCase.expectedResult, string(data))
    		}
    	}
    }
    
    // Test BoolFlag.UnmarshalJSON()
    func TestBoolFlagUnmarshalJSON(t *testing.T) {
    	testCases := []struct {
    		data           []byte
    		expectedResult BoolFlag
    		expectedErr    bool
    	}{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. docs_src/request_form_models/tutorial001.py

    from fastapi import FastAPI, Form
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
    
    
    @app.post("/login/")
    async def login(data: FormData = Form()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 15:16:50 UTC 2024
    - 228 bytes
    - Viewed (0)
  3. cmd/erasure-object_test.go

    		t.Fatalf("Expected GetObject reading data to succeed, but failed with %v", err)
    	}
    	gr.Close()
    
    	const expectedHash = "fffb6377948ebea75ad2b8058e849ef5"
    	foundHash := fmt.Sprintf("%x", h.Sum(nil))
    	if foundHash != expectedHash {
    		t.Fatalf("Expected data to have md5sum = `%s`, found `%s`", expectedHash, foundHash)
    	}
    }
    
    // Test reading an object with some outdated data in some disks
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/request_files.md

    `UploadFile` tem os seguintes métodos `async`. Todos eles chamam os métodos de arquivos por baixo dos panos (usando o objeto `SpooledTemporaryFile` interno).
    
    * `write(data)`: escreve dados (`data`) em `str` ou `bytes` no arquivo.
    * `read(size)`: Lê um número de bytes/caracteres de acordo com a quantidade `size` (`int`).
    * `seek(offset)`: Navega para o byte na posição `offset` (`int`) do arquivo.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. cmd/storage-rest_test.go

    			}
    
    			if !bytes.Equal(data, testCase.data) {
    				t.Fatalf("case %v: expected %v, got %v", i+1, testCase.data, data)
    			}
    		}
    	}
    }
    
    func testStorageAPIDeleteFile(t *testing.T, storage StorageAPI) {
    	err := storage.AppendFile(context.Background(), "foo", "myobject", []byte("foo"))
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    
    	testCases := []struct {
    		volumeName string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

            //custom options from user
            if (typeof options !== 'object' || options === null)
                options = {};
    
            //allow setting options with data attributes
            //data-api options will be overwritten with custom javascript options
            options = $.extend(this.element.data(), options);
    
            //html template for the picker UI
            if (typeof options.template !== 'string' && !(options.template instanceof $))
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/elevateword/admin_elevateword.jsp

                                                <c:forEach var="data" varStatus="s"
                                                           items="${elevateWordItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/elevateword/details/4/${f:u(data.id)}">
                                                        <td>${f:h(data.suggestWord)}</td>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 27 06:24:23 UTC 2020
    - 6.6K bytes
    - Viewed (0)
  8. docs_src/request_form_models/tutorial002.py

    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
        model_config = {"extra": "forbid"}
    
    
    @app.post("/login/")
    async def login(data: FormData = Form()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 267 bytes
    - Viewed (0)
  9. docs_src/request_form_models/tutorial001_an_py39.py

    from pydantic import BaseModel
    
    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
    - 268 bytes
    - Viewed (0)
  10. docs/en/docs/how-to/general.md

    # General - How To - Recipes
    
    Here are several pointers to other places in the docs, for general or frequent questions.
    
    ## Filter Data - Security
    
    To ensure that you don't return more data than you should, read the docs for [Tutorial - Response Model - Return Type](../tutorial/response-model.md){.internal-link target=_blank}.
    
    ## Documentation Tags - OpenAPI
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top