Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for globals (0.15 sec)

  1. docs/de/docs/tutorial/bigger-applications.md

    ### `FastAPI` importieren
    
    Sie importieren und erstellen wie gewohnt eine `FastAPI`-Klasse.
    
    Und wir können sogar [globale Abhängigkeiten](dependencies/global-dependencies.md){.internal-link target=_blank} deklarieren, die mit den Abhängigkeiten für jeden `APIRouter` kombiniert werden:
    
    ```Python hl_lines="1  3  7" title="app/main.py"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:59 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/handling-errors.md

    Nehmen wir an, Sie haben eine benutzerdefinierte Exception `UnicornException`, die Sie (oder eine Bibliothek, die Sie verwenden) `raise`n könnten.
    
    Und Sie möchten diese Exception global mit FastAPI handhaben.
    
    Sie könnten einen benutzerdefinierten Exceptionhandler mittels `@app.exception_handler()` hinzufügen:
    
    ```Python hl_lines="5-7  13-18  24"
    {!../../../docs_src/handling_errors/tutorial003.py!}
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:29 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/security/oauth2-scopes.md

        It doesn't matter if it has other characters like `:` or if it is a URL.
    
        Those details are implementation specific.
    
        For OAuth2 they are just strings.
    
    ## Global view
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/settings.md

    ## Einstellungen in einer Abhängigkeit
    
    In manchen Fällen kann es nützlich sein, die Einstellungen mit einer Abhängigkeit bereitzustellen, anstatt ein globales Objekt `settings` zu haben, das überall verwendet wird.
    
    Dies könnte besonders beim Testen nützlich sein, da es sehr einfach ist, eine Abhängigkeit mit Ihren eigenen benutzerdefinierten Einstellungen zu überschreiben.
    
    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)
  5. docs/en/docs/how-to/sql-databases-peewee.md

    ```
    
    There are some differences with the code for the SQLAlchemy tutorial.
    
    We don't pass a `db` attribute around. Instead we use the models directly. This is because the `db` object is a global object, that includes all the connection logic. That's why we had to do all the `contextvars` updates above.
    
    Aso, when returning several objects, like in `get_users`, we directly call `list`, like in:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (1)
  6. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // rule. At least one of 'backend' or 'rules' must be specified. This field
      // is optional to allow the loadbalancer controller or defaulting logic to
      // specify a global default.
      // +optional
      optional IngressBackend backend = 1;
    
      // TLS configuration. Currently the Ingress only supports a single TLS
      // port, 443. If multiple members of this list specify different hosts, they
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/handling-errors.md

    Digamos que você tenha uma exceção customizada `UnicornException` que você (ou uma biblioteca que você use) precise lançar (`raise`).
    
    Nesse cenário, se você precisa manipular essa exceção de modo global com o FastAPI, você pode adicionar um manipulador de exceção customizada com `@app.exception_handler()`.
    
    ```Python hl_lines="5-7  13-18  24"
    {!../../../docs_src/handling_errors/tutorial003.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. cni/README.md

    1. Return prevResult
    
    ## Troubleshooting
    
    ### Collecting Logs
    
    #### Using `istioctl`/helm
    
    - Set: `values.global.logging.level="cni:debug,ambient:debug"`
    - Inspect the pod logs of a `istio-cni` Daemonset pod on a specific node.
    
    #### From a specific node syslog
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. docs/de/docs/contributing.md

        Dadurch wird sichergestellt, dass Sie, wenn Sie ein von diesem Package installiertes Terminalprogramm verwenden, das Programm aus Ihrer lokalen Umgebung verwenden und kein anderes, das global installiert sein könnte.
    
    ### Benötigtes mit pip installieren
    
    Nachdem Sie die Umgebung wie oben beschrieben aktiviert haben:
    
    <div class="termy">
    
    ```console
    $ pip install -r requirements.txt
    
    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. architecture/ambient/ztunnel.md

    This works out to be more efficient in common cases where policies change much less often than workloads.
    This only applies for selector-based policies; namespaced and global policies can be handled without needing to list them out in the Workload API.
    
    ## Redirection
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
Back to top