Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for ENV (0.14 sec)

  1. .github/workflows/test-redistribute.yml

    jobs:
      test-redistribute:
        runs-on: ubuntu-latest
        strategy:
          matrix:
            package:
              - fastapi
              - fastapi-slim
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
          - name: Set up Python
            uses: actions/setup-python@v5
            with:
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 06:38:13 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. docs/pt/docs/contributing.md

    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    Isso criará o diretório `./env/` com os binários Python e então você será capaz de instalar pacotes nesse ambiente isolado.
    
    ### Ativar o ambiente
    
    Ative o novo ambiente com:
    
    === "Linux, macOS"
    
        <div class="termy">
    
        ```console
        $ source ./env/bin/activate
        ```
    
        </div>
    
    === "Windows PowerShell"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  3. scripts/publish.sh

    #!/usr/bin/env bash
    
    set -e
    
    Shell Script
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 20 18:09:35 GMT 2019
    - 42 bytes
    - Viewed (0)
  4. docs/en/docs/how-to/conditional-openapi.md

    Nevertheless, you might have a very specific use case where you really need to disable the API docs for some environment (e.g. for production) or depending on configurations from environment variables.
    
    ## Conditional OpenAPI from settings and env vars
    
    You can easily use the same Pydantic settings to configure your generated OpenAPI and the docs UIs.
    
    For example:
    
    ```Python hl_lines="6  11"
    {!../../../docs_src/conditional_openapi/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/settings.md

    !!! tip "Tipp"
        Damit das funktioniert, müssen Sie `pip install python-dotenv` ausführen.
    
    ### Die `.env`-Datei
    
    Sie könnten eine `.env`-Datei haben, mit:
    
    ```bash
    ADMIN_EMAIL="******@****.***"
    APP_NAME="ChimichangApp"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
  6. docs_src/settings/app03_an/config_pv1.py

    from pydantic import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
        class Config:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 195 bytes
    - Viewed (0)
  7. .github/workflows/smokeshow.yml

    permissions:
      statuses: write
    
    jobs:
      smokeshow:
        if: ${{ github.event.workflow_run.conclusion == 'success' }}
        runs-on: ubuntu-latest
    
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/setup-python@v5
            with:
              python-version: '3.9'
    
          - run: pip install smokeshow
    
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 19 01:33:28 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  8. docs_src/settings/app03_an/config.py

    from pydantic_settings import BaseSettings, SettingsConfigDict
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 235 bytes
    - Viewed (0)
  9. docs/de/docs/contributing.md

    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    Das erstellt ein Verzeichnis `./env/` mit den Python-Binärdateien und Sie können dann Packages in dieser lokalen Umgebung installieren.
    
    ### Umgebung aktivieren
    
    Aktivieren Sie die neue Umgebung mit:
    
    === "Linux, macOS"
    
        <div class="termy">
    
        ```console
        $ source ./env/bin/activate
        ```
    
        </div>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 23:55:23 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/settings.md

    !!! tip
        For this to work, you need to `pip install python-dotenv`.
    
    ### The `.env` file
    
    You could have a `.env` file with:
    
    ```bash
    ADMIN_EMAIL="******@****.***"
    APP_NAME="ChimichangApp"
    ```
    
    ### Read settings from `.env`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
Back to top