Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1001 - 1010 of 1,364 for main (0.07 seconds)

  1. docs/es/docs/tutorial/security/first-steps.md

    ## Cómo se ve { #how-it-looks }
    
    Primero solo usemos el código y veamos cómo funciona, y luego volveremos para entender qué está sucediendo.
    
    ## Crea `main.py` { #create-main-py }
    
    Copia el ejemplo en un archivo `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py *}
    
    ## Ejecútalo { #run-it }
    
    /// info | Información
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  2. tests/test_modules_same_name_body/test_main.py

    import pytest
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    from .app.main import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path", ["/a/compute", "/a/compute/", "/b/compute", "/b/compute/"]
    )
    def test_post(path):
        data = {"a": 2, "b": "foo"}
        response = client.post(path, json=data)
        assert response.status_code == 200, response.text
        assert data == response.json()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  3. TESTING.asciidoc

    Tests are ran for versions that are not yet released but with which the current version will be compatible with.
    These are automatically checked out and built from source.
    See link:./build-tools-internal/src/main/java/org/elasticsearch/gradle/BwcVersions.java[BwcVersions]
    and link:./distribution/bwc/build.gradle[distribution/bwc/build.gradle]
    for more information.
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jun 07 13:55:20 GMT 2021
    - 32.5K bytes
    - Click Count (0)
  4. docs/tr/docs/virtual-environments.md

    <div class="termy">
    
    ```console
    $ cd ~/code/prisoner-of-azkaban
    
    $ python main.py
    
    // Error importing sirius, it's not installed 😱
    Traceback (most recent call last):
        File "main.py", line 1, in <module>
            import sirius
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  5. docs/ko/docs/how-to/custom-docs-ui-assets.md

    ### 프로젝트 파일 구조 { #project-file-structure }
    
    프로젝트 파일 구조가 다음과 같다고 해봅시다:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    ```
    
    이제 해당 정적 파일을 저장할 디렉터리를 만드세요.
    
    새 파일 구조는 다음과 같을 수 있습니다:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    └── static/
    ```
    
    ### 파일 다운로드하기 { #download-the-files }
    
    문서에 필요한 정적 파일을 다운로드해서 `static/` 디렉터리에 넣으세요.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/schema-extra-example.md

        * `Path()`
        * `Query()`
        * `Header()`
        * `Cookie()`
    * [`Request Body Object`, dans le champ `content`, sur le `Media Type Object` (dans la spécification)](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#media-type-object) qui était utilisé par les éléments FastAPI :
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/schema-extra-example.md

        * `Path()`
        * `Query()`
        * `Header()`
        * `Cookie()`
    * [`Request Body Object`, en el campo `content`, sobre el `Media Type Object` (en la especificación)](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#media-type-object) que era usado por FastAPI:
        * `Body()`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/schema-extra-example.md

    Antes do OpenAPI 3.1.0, o OpenAPI usava uma versão mais antiga e modificada do **JSON Schema**.
    
    O JSON Schema não tinha `examples`, então o OpenAPI adicionou seu próprio campo `example` à sua versão modificada.
    
    O OpenAPI também adicionou os campos `example` e `examples` a outras partes da especificação:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  9. cmd/metacache-set.go

    	Limit int
    
    	// The number of disks to ask.
    	AskDisks string
    
    	// InclDeleted will keep all entries where latest version is a delete marker.
    	InclDeleted bool
    
    	// Scan recursively.
    	// If false only main directory will be scanned.
    	// Should always be true if Separator is n SlashSeparator.
    	Recursive bool
    
    	// Separator to use.
    	Separator string
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  10. docs/fr/docs/advanced/behind-a-proxy.md

    {* ../../docs_src/behind_a_proxy/tutorial001_01_py310.py hl[6] *}
    
    Si le client essaie d'aller à `/items`, par défaut, il sera redirigé vers `/items/`.
    
    Mais avant de définir l'option de CLI `--forwarded-allow-ips`, il pourrait rediriger vers `http://localhost:8000/items/`.
    
    Mais peut‑être que votre application est hébergée à `https://mysuperapp.com`, et la redirection devrait être vers `https://mysuperapp.com/items/`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top