Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for 1515 (0.02 seconds)

  1. .github/workflows/translate.yml

    name: Translate
    
    on:
      # schedule:
      #   - cron: "0 5 15 * *"  # Run at 05:00 on the 15 of every month
    
      workflow_dispatch:
        inputs:
          debug_enabled:
            description: Run with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)
            required: false
            default: "false"
          command:
            description: Command to run
            type: choice
            options:
              - translate-page
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:48:45 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. docs/ru/docs/tutorial/debugging.md

    ## Вызов `uvicorn` { #call-uvicorn }
    
    В вашем FastAPI приложении, импортируйте и вызовите `uvicorn` напрямую:
    
    {* ../../docs_src/debugging/tutorial001_py39.py hl[1,15] *}
    
    ### Описание `__name__ == "__main__"` { #about-name-main }
    
    Главная цель использования `__name__ == "__main__"` в том, чтобы код выполнялся при запуске файла с помощью:
    
    <div class="termy">
    
    ```console
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/debugging.md

    ## Call `uvicorn` { #call-uvicorn }
    
    In your FastAPI application, import and run `uvicorn` directly:
    
    {* ../../docs_src/debugging/tutorial001_py39.py hl[1,15] *}
    
    ### About `__name__ == "__main__"` { #about-name-main }
    
    The main purpose of the `__name__ == "__main__"` is to have some code that is executed when your file is called with:
    
    <div class="termy">
    
    ```console
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/debugging.md

    ## Llama a `uvicorn` { #call-uvicorn }
    
    En tu aplicación de FastAPI, importa y ejecuta `uvicorn` directamente:
    
    {* ../../docs_src/debugging/tutorial001_py39.py hl[1,15] *}
    
    ### Acerca de `__name__ == "__main__"` { #about-name-main }
    
    El objetivo principal de `__name__ == "__main__"` es tener algo de código que se ejecute cuando tu archivo es llamado con:
    
    <div class="termy">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/debugging.md

    ## `uvicorn` aufrufen { #call-uvicorn }
    
    Importieren und führen Sie `uvicorn` direkt in Ihrer FastAPI-Anwendung aus:
    
    {* ../../docs_src/debugging/tutorial001_py39.py hl[1,15] *}
    
    ### Über `__name__ == "__main__"` { #about-name-main }
    
    Der Hauptzweck von `__name__ == "__main__"` ist, dass Code ausgeführt wird, wenn Ihre Datei mit folgendem Befehl aufgerufen wird:
    
    <div class="termy">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_request_files/test_tutorial003.py

                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
            )
        assert response.status_code == 200, response.text
        assert response.json() == {"file_sizes": [14, 15]}
    
    
    def test_post_upload_file(tmp_path, app: FastAPI):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/debugging.md

    ## Chamar `uvicorn` { #call-uvicorn }
    
    Em sua aplicação FastAPI, importe e execute `uvicorn` diretamente:
    
    {* ../../docs_src/debugging/tutorial001_py39.py hl[1,15] *}
    
    ### Sobre `__name__ == "__main__"` { #about-name-main }
    
    O objetivo principal de `__name__ == "__main__"` é ter algum código que seja executado quando seu arquivo for chamado com:
    
    <div class="termy">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/path-operation-configuration.md

    Aber falls Sie sich nicht mehr erinnern, wofür jeder Nummerncode steht, können Sie die Abkürzungs-Konstanten in `status` verwenden:
    
    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    Dieser Statuscode wird in der Response verwendet und zum OpenAPI-Schema hinzugefügt.
    
    /// note | Technische Details
    
    Sie können auch `from starlette import status` verwenden.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/path-operation-configuration.md

    Но если вы не помните, для чего нужен каждый числовой код, вы можете использовать сокращенные константы в параметре `status`:
    
    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    Этот статус-код будет использован в ответе и будет добавлен в схему OpenAPI.
    
    /// note | Технические детали
    
    Вы также можете использовать `from starlette import status`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/path-operation-configuration.md

    You can pass directly the `int` code, like `404`.
    
    But if you don't remember what each number code is for, you can use the shortcut constants in `status`:
    
    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    That status code will be used in the response and will be added to the OpenAPI schema.
    
    /// note | Technical Details
    
    You could also use `from starlette import status`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top