Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 538 for evenly (0.07 seconds)

  1. docs/en/docs/css/custom.css

    .md-footer-meta {
      padding-bottom: 2em;
    }
    
    .user-list {
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }
    
    .user-list-center {
      justify-content: space-evenly;
    }
    
    .user {
      margin: 1em;
      min-width: 7em;
    }
    
    .user .avatar-wrapper {
      width: 80px;
      height: 80px;
      margin: 10px auto;
      overflow: hidden;
      border-radius: 50%;
      position: relative;
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Nov 28 15:55:15 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. cmd/endpoint-ellipses.go

    	return ep, nil
    }
    
    // GetAllSets - parses all ellipses input arguments, expands them into
    // corresponding list of endpoints chunked evenly in accordance with a
    // specific set size.
    // For example: {1...64} is divided into 4 sets each of size 16.
    // This applies to even distributed setup syntax as well.
    func GetAllSets(setDriveCount uint64, args ...string) ([][]string, error) {
    	var setArgs [][]string
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  3. docs/pt/docs/advanced/events.md

    Essas funções podem ser declaradas com `async def` ou `def` normal.
    
    ### Evento `startup` { #startup-event }
    
    Para adicionar uma função que deve rodar antes de a aplicação iniciar, declare-a com o evento `"startup"`:
    
    {* ../../docs_src/events/tutorial001_py39.py hl[8] *}
    
    Nesse caso, a função de manipulador do evento `startup` inicializará os itens do "banco de dados" (apenas um `dict`) com alguns valores.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  4. docs/ru/docs/advanced/events.md

    Параметр `lifespan` приложения `FastAPI` принимает асинхронный менеджер контекста, поэтому мы можем передать ему наш новый асинхронный менеджер контекста `lifespan`.
    
    {* ../../docs_src/events/tutorial003_py39.py hl[22] *}
    
    ## Альтернативные события (устаревшие) { #alternative-events-deprecated }
    
    /// warning | Предупреждение
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  5. docs/es/docs/advanced/events.md

    Estas funciones pueden ser declaradas con `async def` o `def` normal.
    
    ### Evento `startup` { #startup-event }
    
    Para añadir una función que debería ejecutarse antes de que la aplicación inicie, declárala con el evento `"startup"`:
    
    {* ../../docs_src/events/tutorial001_py39.py hl[8] *}
    
    En este caso, la función manejadora del evento `startup` inicializará los ítems de la "base de datos" (solo un `dict`) con algunos valores.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. docs/de/docs/advanced/events.md

    Diese Funktionen können mit `async def` oder normalem `def` deklariert werden.
    
    ### `startup`-Event { #startup-event }
    
    Um eine Funktion hinzuzufügen, die vor dem Start der Anwendung ausgeführt werden soll, deklarieren Sie diese mit dem Event `startup`:
    
    {* ../../docs_src/events/tutorial001_py39.py hl[8] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/events.md

    In this case, the `startup` event handler function will initialize the items "database" (just a `dict`) with some values.
    
    You can add more than one event handler function.
    
    And your application won't start receiving requests until all the `startup` event handlers have completed.
    
    ### `shutdown` event { #shutdown-event }
    
    To add a function that should be run when the application is shutting down, declare it with the event `"shutdown"`:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.32.md

    - When `SchedulerQueueingHint` is enabled,
      the scheduler's in-tree plugins now subscribe to specific node events to decide whether to requeue Pods.
      This allows the scheduler to handle cluster events faster with less memory.
    
      Specific node events include updates to taints, tolerations or allocatable.
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Tue Dec 16 18:27:41 GMT 2025
    - 448.1K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/events.md

    首先要注意的是,我们定义了一个带有 `yield` 的异步函数。这与带有 `yield` 的依赖项非常相似。
    
    ```Python hl_lines="14-19"
    {!../../docs_src/events/tutorial003.py!}
    ```
    
    这个函数在 `yield`之前的部分,会在应用启动前执行。
    
    剩下的部分在 `yield` 之后,会在应用完成后执行。
    
    ## 异步上下文管理器
    
    如你所见,这个函数有一个装饰器 `@asynccontextmanager` 。
    
    它将函数转化为所谓的“**异步上下文管理器**”。
    
    ```Python hl_lines="1  13"
    {!../../docs_src/events/tutorial003.py!}
    ```
    
    在 Python 中,  **上下文管理器**是一个你可以在 `with` 语句中使用的东西,例如,`open()` 可以作为上下文管理器使用。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. docs/ru/docs/advanced/testing-events.md

    # Тестирование событий: lifespan и startup - shutdown { #testing-events-lifespan-and-startup-shutdown }
    
    Если вам нужно, чтобы `lifespan` выполнялся в ваших тестах, вы можете использовать `TestClient` вместе с оператором `with`:
    
    {* ../../docs_src/app_testing/tutorial004_py39.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 902 bytes
    - Click Count (0)
Back to Top