Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 351 - 360 of 448 for binder (0.2 seconds)

  1. docs/pt/docs/tutorial/testing.md

    ### Arquivo da aplicação **FastAPI** { #fastapi-app-file }
    
    Digamos que você tenha uma estrutura de arquivo conforme descrito em [Aplicações maiores](bigger-applications.md):
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    No arquivo `main.py` você tem sua aplicação **FastAPI**:
    
    
    {* ../../docs_src/app_testing/app_a_py310/main.py *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/async-tests.md

    `TestClient` 是基于 [HTTPX](https://www.python-httpx.org) 的。幸运的是,我们可以直接使用它来测试 API。
    
    ## 示例 { #example }
    
    举个简单的例子,让我们来看一个与[更大的应用](../tutorial/bigger-applications.md)和[测试](../tutorial/testing.md)中描述的类似文件结构:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    文件 `main.py` 将包含:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  3. docs/ja/docs/advanced/settings.md

    [大規模アプリケーション - 複数ファイル](../tutorial/bigger-applications.md) で見たように、これらの設定を別のモジュールファイルに置くこともできます。
    
    たとえば、`config.py` というファイルに次のように書けます:
    
    {* ../../docs_src/settings/app01_py310/config.py *}
    
    そして、`main.py` というファイルでそれを使います:
    
    {* ../../docs_src/settings/app01_py310/main.py hl[3,11:13] *}
    
    /// tip | 豆知識
    
    [大規模アプリケーション - 複数ファイル](../tutorial/bigger-applications.md) で見たように、`__init__.py` ファイルも必要です。
    
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/background-tasks.md

    ## Caveat { #caveat }
    
    If you need to perform heavy background computation and you don't necessarily need it to be run by the same process (for example, you don't need to share memory, variables, etc), you might benefit from using other bigger tools like [Celery](https://docs.celeryq.dev).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  5. internal/config/identity/ldap/ldap.go

    	}
    	return lookupRes, groups, nil
    }
    
    // Bind - binds to ldap, searches LDAP and returns the distinguished name of the
    // user and the list of groups.
    func (l *Config) Bind(username, password string) (*xldap.DNSearchResult, []string, error) {
    	conn, err := l.LDAP.Connect()
    	if err != nil {
    		return nil, nil, err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 01:04:53 GMT 2024
    - 12.4K bytes
    - Click Count (1)
  6. docs/ko/docs/advanced/async-tests.md

    `TestClient`는 [HTTPX](https://www.python-httpx.org)를 기반으로 하며, 다행히 HTTPX를 직접 사용해 API를 테스트할 수 있습니다.
    
    ## 예시 { #example }
    
    간단한 예시로, [더 큰 애플리케이션](../tutorial/bigger-applications.md)과 [테스트](../tutorial/testing.md)에서 설명한 것과 비슷한 파일 구조를 살펴보겠습니다:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    `main.py` 파일은 다음과 같습니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/response-model.md

    Sehen wir uns zunächst an, wie Editor, mypy und andere Tools dies sehen würden.
    
    `BaseUser` verfügt über die Basis-Felder. Dann erbt `UserIn` von `BaseUser` und fügt das Feld `password` hinzu, sodass es nun alle Felder beider Modelle hat.
    
    Wir annotieren den Funktionsrückgabetyp als `BaseUser`, geben aber tatsächlich eine `UserIn`-Instanz zurück.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/testing.md

    ### Fichier d’application **FastAPI** { #fastapi-app-file }
    
    Supposons que vous ayez une structure de fichiers comme décrit dans [Applications plus grandes](bigger-applications.md) :
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    Dans le fichier `main.py`, vous avez votre application **FastAPI** :
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. docs/en/docs/img/index/index-03-swagger-02.png

    index-03-swagger-02.png...
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 73.3K bytes
    - Click Count (0)
  10. docs/en/docs/img/index/index-06-redoc-02.png

    index-06-redoc-02.png...
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 77K bytes
    - Click Count (0)
Back to Top