Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,631 for Jest (0.19 sec)

  1. docs/pl/docs/tutorial/first-steps.md

    ### OpenAPI
    
    **FastAPI** generuje "schemat" z całym Twoim API przy użyciu standardu **OpenAPI** służącego do definiowania API.
    
    #### Schema
    
    "Schema" jest definicją lub opisem czegoś. Nie jest to kod, który go implementuje, ale po prostu abstrakcyjny opis.
    
    #### API "Schema"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  2. docs/pl/docs/index.md

    * Potwierdzi, że w ścieżce jest `item_id` dla żądań `GET` i `PUT`.
    * Potwierdzi, że `item_id` jest typu `int` dla żądań `GET` i `PUT`.
        * Jeżeli nie jest, odbiorca zobaczy przydatną, przejrzystą wiadomość z błędem.
    * Sprawdzi czy w ścieżce jest opcjonalny parametr zapytania `q` (np. `http://127.0.0.1:8000/items/foo?q=somequery`) dla żądania `GET`.
        * Jako że parametr `q` jest zadeklarowany jako `= None`, jest on opcjonalny.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  3. docs/pl/docs/features.md

    Cała struktura frameworku **FastAPI** jest na tym oparta. Autouzupełnianie działa wszędzie.
    
    Rzadko będziesz musiał wracać do dokumentacji.
    
    Oto, jak twój edytor może Ci pomóc:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  4. docs/pl/docs/help-fastapi.md

    ### Zrozum problem
    
    * Najpierw upewnij się, że **rozumiesz problem**, który próbuje rozwiązać pull request. Może być osadzony w większym kontekście w GitHubowej dyskusji lub problemie.
    
    * Jest też duża szansa, że pull request nie jest konieczny, ponieważ problem można rozwiązać w **inny sposób**. Wtedy możesz to zasugerować lub o to zapytać.
    
    ### Nie martw się stylem
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. cmd/storage-rest_test.go

    	"math/rand"
    	"reflect"
    	"runtime"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/grid"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    // Storage REST server, storageRESTReceiver and StorageRESTClient are
    // inter-dependent, below test functions are sufficient to test all of them.
    func testStorageAPIDiskInfo(t *testing.T, storage StorageAPI) {
    	testCases := []struct {
    		expectErr bool
    	}{
    		{true},
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    		},
    	}
    
    	// write a zip file
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    
    	for _, test := range headerTests {
    		h := &FileHeader{
    			Name:  test.name,
    			Extra: test.extra,
    		}
    		_, err := w.CreateHeader(h)
    		if err != test.wanterr {
    			t.Errorf("error=%v, want %v", err, test.wanterr)
    		}
    	}
    
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    			t.Errorf("Test %d: Expected error %v but got none.", i, test.expError)
    		case err == nil && n != int64(test.length):
    			t.Errorf("Test %d: %d bytes were expected, but %d were written", i, test.length, n)
    		case err == nil && !bytes.Equal(data[test.offset:test.offset+test.length], buffer):
    			t.Errorf("Test %d: Expected bytes: %v, but got: %v", i, data[test.offset:test.offset+test.length], buffer)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers_test.go

    			err:            errDiskNotFound,
    			expectedAPIErr: toAPIErrorCode(GlobalContext, errDiskNotFound),
    		},
    	}
    
    	for i, test := range testCases {
    		actualErr := toAdminAPIErrCode(GlobalContext, test.err)
    		if actualErr != test.expectedAPIErr {
    			t.Errorf("Test %d: Expected %v but received %v",
    				i+1, test.expectedAPIErr, actualErr)
    		}
    	}
    }
    
    func TestExtractHealInitParams(t *testing.T) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    	apiRouter http.Handler, credentials auth.Credentials, t *testing.T)
    
    // Regular object test type.
    type objTestType func(obj ObjectLayer, instanceType string, t TestErrHandler)
    
    // Special test type for test with directories
    type objTestTypeWithDirs func(obj ObjectLayer, instanceType string, dirs []string, t TestErrHandler)
    
    // Special object test type for disk not found situations.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  10. cmd/signature-v4-parser_test.go

    		},
    		// Test Case - 7.
    		// Test case with invalid region.
    		{
    			inputCredentialStr: generateCredentialStr(
    				"Z7IXGOO6BZ0REAN1Q26I",
    				UTCNow().Format(yyyymmdd),
    				"us-west-2",
    				"s3",
    				"aws4_request"),
    			expectedCredentials: credentialHeader{},
    			expectedErrCode:     ErrAuthorizationHeaderMalformed,
    		},
    		// Test Case - 8.
    		// Test case with invalid request version.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
Back to top