Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 871 - 880 of 1,953 for into (0.02 seconds)

  1. tests/test_typing_python39.py

    from fastapi.testclient import TestClient
    
    from .utils import needs_py310
    
    
    @needs_py310
    def test_typing():
        types = {
            list[int]: [1, 2, 3],
            dict[str, list[int]]: {"a": [1, 2, 3], "b": [4, 5, 6]},
            set[int]: [1, 2, 3],  # `set` is converted to `list`
            tuple[int, ...]: [1, 2, 3],  # `tuple` is converted to `list`
        }
        for test_type, expect in types.items():
            app = FastAPI()
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 709 bytes
    - Click Count (0)
  2. docs/ru/docs/tutorial/path-params-numeric-validations.md

    ## Импорт `Path` { #import-path }
    
    Сначала импортируйте `Path` из `fastapi`, а также импортируйте `Annotated`:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *}
    
    /// info | Информация
    
    Поддержка `Annotated` была добавлена в FastAPI начиная с версии 0.95.0 (и с этой версии рекомендуется использовать этот подход).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/body-nested-models.md

            }
        ]
    }
    ```
    
    /// info | Інформація
    
    Зверніть увагу, що тепер ключ `images` містить список об'єктів зображень.
    
    ///
    
    ## Глибоко вкладені моделі
    
    Ви можете визначати вкладені моделі довільної глибини:
    
    {* ../../docs_src/body_nested_models/tutorial007_py310.py hl[7,12,18,21,25] *}
    
    /// info | Інформація
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Feb 28 14:18:01 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. docs/es/docs/advanced/custom-response.md

    /// info | Información
    
    Esto requiere instalar `orjson`, por ejemplo, con `pip install orjson`.
    
    ///
    
    ### `UJSONResponse` { #ujsonresponse }
    
    Un response JSON alternativo usando <a href="https://github.com/ultrajson/ultrajson" class="external-link" target="_blank">`ujson`</a>.
    
    /// info | Información
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  5. cmd/user-provider-utils.go

    		id, _ := claims[idClaim].(string)
    		info.UserID = id
    		info.UserIDClaim = idClaim
    	}
    
    	return info
    }
    
    func getLDAPInfoFromClaims(claims map[string]any) madmin.LDAPSpecificAccessKeyInfo {
    	info := madmin.LDAPSpecificAccessKeyInfo{}
    
    	if name, ok := claims[ldapUser].(string); ok {
    		info.Username = name
    	}
    
    	return info
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. docs/pt/docs/learn/index.md

    # Aprender { #learn }
    
    Aqui estão as seções introdutórias e os tutoriais para aprender o **FastAPI**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 218 bytes
    - Click Count (0)
  7. src/bytes/reader.go

    type Reader struct {
    	s        []byte
    	i        int64 // current reading index
    	prevRune int   // index of previous rune; or < 0
    }
    
    // Len returns the number of bytes of the unread portion of the
    // slice.
    func (r *Reader) Len() int {
    	if r.i >= int64(len(r.s)) {
    		return 0
    	}
    	return int(int64(len(r.s)) - r.i)
    }
    
    // Size returns the original length of the underlying byte slice.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jul 16 18:17:37 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  8. docs/debugging/README.md

    ```
    
    The command takes no flags
    
    ```sh
    mc support diagnostics myminio/
    ```
    
    The output printed will be of the form
    
    ```sh
    ● Admin Info ... ✔ 
    ● CPU ... ✔ 
    ● Disk Hardware ... ✔ 
    ● Os Info ... ✔ 
    ● Mem Info ... ✔ 
    ● Process Info ... ✔ 
    ● Config ... ✔ 
    ● Drive ... ✔ 
    ● Net ... ✔ 
    *********************************************************************************
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_additional_responses/test_tutorial003.py

    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "get": {
                        "responses": {
                            "404": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_query_params_str_validations/test_tutorial006.py

    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "get": {
                        "responses": {
                            "200": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top