Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1411 - 1420 of 1,501 for apps (0.01 seconds)

  1. docs/ru/docs/environment-variables.md

    Hello World from Python
    ```
    
    </div>
    
    /// tip | Совет
    
    Подробнее об этом можно прочитать на сайте <a href="https://12factor.net/config" class="external-link" target="_blank">The Twelve-Factor App: Config</a>.
    
    ///
    
    ## Типизация и Валидация { #types-and-validation }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  2. tests/test_application.py

    import pytest
    from fastapi.testclient import TestClient
    
    from .main import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 51.9K bytes
    - Click Count (0)
  3. cmd/admin-handler-utils.go

    			return nil, cred
    		}
    	}
    	writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL)
    	return nil, auth.Credentials{}
    }
    
    // AdminError - is a generic error for all admin APIs.
    type AdminError struct {
    	Code       string
    	Message    string
    	StatusCode int
    }
    
    func (ae AdminError) Error() string {
    	return ae.Message
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jul 03 07:17:20 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  4. docs/ru/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    ///
    
    ### Pydantic v1 и v2 в одном приложении { #pydantic-v1-and-v2-on-the-same-app }
    
    В Pydantic **не поддерживается** ситуация, когда в одной модели Pydantic v2 используются поля, определённые как модели Pydantic v1, и наоборот.
    
    ```mermaid
    graph TB
        subgraph "❌ Not Supported"
            direction TB
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 10 20:54:56 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  5. docs/fr/docs/project-generation.md

        * **Robuste** : Obtenez du code prêt pour être utilisé en production. Avec de la documentation automatique interactive.
        * **Basé sur des normes** : Basé sur (et totalement compatible avec) les normes ouvertes pour les APIs : <a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank">OpenAPI</a> et <a href="https://json-schema.org/" class="external-link" target="_blank">JSON Schema</a>.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Jul 29 23:35:07 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/middleware.md

    * **응답**를 반환합니다.
    
    /// note | 기술 세부사항
    
    만약 `yield`를 사용한 의존성을 가지고 있다면, 미들웨어가 실행되고 난 후에 exit이 실행됩니다.
    
    만약 (나중에 문서에서 다룰) 백그라운드 작업이 있다면, 모든 미들웨어가 실행되고 *난 후에* 실행됩니다.
    
    ///
    
    ## 미들웨어 만들기
    
    미들웨어를 작성하기 위해서 함수 상단에 `@app.middleware("http")` 데코레이터를 사용할 수 있습니다.
    
    미들웨어 함수는 다음 항목들을 받습니다:
    
    * `request`.
    * `request`를 매개변수로 받는 `call_next` 함수.
        * 이 함수는 `request`를 해당하는 *경로 작업*으로 전달합니다.
        * 그런 다음, *경로 작업*에 의해 생성된 `response` 를 반환합니다.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. docs/tr/docs/async.md

    ```Python
    results = await some_library()
    ```
    
    O zaman *path operasyon fonksiyonunu* `async def` ile tanımlayın örneğin:
    
    ```Python hl_lines="2"
    @app.get('/')
    async def read_results():
        results = await some_library()
        return results
    ```
    
    /// note | Not
    
    Sadece `async def` ile tanımlanan fonksiyonlar içinde `await` kullanabilirsiniz.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:56:21 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  8. fastapi/param_functions.py

        ```python
        from typing import Annotated
    
        from fastapi import FastAPI, Path
    
        app = FastAPI()
    
    
        @app.get("/items/{item_id}")
        async def read_items(
            item_id: Annotated[int, Path(title="The ID of the item to get")],
        ):
            return {"item_id": item_id}
        ```
        """
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 63K bytes
    - Click Count (0)
  9. docs/ko/docs/advanced/sub-applications.md

    다음으로, 하위 응용프로그램과 이것의 *경로 동작*을 생성합니다:
    
    이 하위 응용프로그램은 또 다른 표준 FastAPI 응용프로그램입니다. 다만 이것은 “마운트”될 것입니다:
    
    {* ../../docs_src/sub_applications/tutorial001.py hl[11, 14:16] *}
    
    ### 하위 응용프로그램 마운트
    
    최상단 응용프로그램, `app`에 하위 응용프로그램, `subapi`를 마운트합니다.
    
    이 예시에서, 하위 응용프로그램션은 `/subapi` 경로에 마운트 될 것입니다:
    
    {* ../../docs_src/sub_applications/tutorial001.py hl[11, 19] *}
    
    ### 자동으로 생성된 API 문서 확인
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Jun 12 07:32:09 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/settings.md

    {* ../../docs_src/settings/app02_an_py39/config.py hl[10] *}
    
    Notice that now we don't create a default instance `settings = Settings()`.
    
    ### The main app file { #the-main-app-file }
    
    Now we create a dependency that returns a new `config.Settings()`.
    
    {* ../../docs_src/settings/app02_an_py39/main.py hl[6,12:13] *}
    
    /// tip
    
    We'll discuss the `@lru_cache` in a bit.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 11.2K bytes
    - Click Count (0)
Back to Top