Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 500 for defa (0.02 seconds)

  1. docs/en/docs/advanced/settings.md

    ```Python
    Settings()
    ```
    
    a new `Settings` object would be created, and at creation it would read the `.env` file again.
    
    If the dependency function was just like:
    
    ```Python
    def get_settings():
        return Settings()
    ```
    
    we would create that object for each request, and we would be reading the `.env` file for each request. ⚠️
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  2. docs/tr/docs/advanced/settings.md

    ```Python
    Settings()
    ```
    
    yeni bir `Settings` nesnesi oluşturulur ve oluşturulurken `.env` dosyasını yeniden okur.
    
    Dependency fonksiyonu sadece şöyle olsaydı:
    
    ```Python
    def get_settings():
        return Settings()
    ```
    
    bu nesneyi her request için oluştururduk ve `.env` dosyasını her request'te okurduk. ⚠️
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy

                            name = null
                        } else {
                            snippet.end = lineNumber
                        }
                        return
                    }
                    def source = matchSource(line)
                    if (source.matches) {
                        lastLanguage = source.language
                        lastLanguageLine = lineNumber
                        name = source.name
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 10:08:26 GMT 2021
    - 17.8K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/first-steps.md

    **FastAPI** будет вызывать её каждый раз, когда получает запрос к URL «`/`» с операцией `GET`.
    
    В данном случае это асинхронная (`async`) функция.
    
    ---
    
    Вы также можете определить её как обычную функцию вместо `async def`:
    
    {* ../../docs_src/first_steps/tutorial003_py310.py hl[7] *}
    
    /// note | Примечание
    
    Если вы не знаете, в чём разница, посмотрите [Асинхронность: *"Нет времени?"*](../async.md#in-a-hurry).
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                }
            }
    
            void emitDo(String method, String pathAndQuery, String body,
                    String catchPart, List warnings, boolean inSetup, boolean skipShardFailures) {
                def (String path, String query) = pathAndQuery.tokenize('?')
                if (path == null) {
                    path = '' // Catch requests to the root...
                } else {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        }
    
        private static String getMessage(Throwable error, String def) {
            if (error == null) {
                return def;
            }
            String msg = error.getMessage();
            if (msg != null && !msg.isEmpty()) {
                return msg;
            }
            return getMessage(error.getCause(), def);
        }
    
        private ArtifactRepositoryLayout getLayout(String id) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

         *
         * @param data the report data containing a description to parse
         * @return accepted api changes reported upon, as a file
         */
        private static File getAcceptedApiChangesFile(RichReportData data) {
            def matcher = data.description =~ acceptedChangesRegex
            return new File(matcher[0][1])
        }
    
        private static RichReportData enrichReport(RichReportData data) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 7K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/stream-json-lines.md

    ///
    
    ### Funções de operação de rota não assíncronas { #non-async-path-operation-functions }
    
    Você também pode usar funções `def` normais (sem `async`) e usar `yield` da mesma forma.
    
    O FastAPI garantirá que sejam executadas corretamente para não bloquear o event loop.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/server-sent-events.md

    ///
    
    ### Fonctions de chemin d'accès non async { #non-async-path-operation-functions }
    
    Vous pouvez aussi utiliser des fonctions `def` normales (sans `async`), et utiliser `yield` de la même façon.
    
    FastAPI s’assure qu’elles s’exécutent correctement pour ne pas bloquer la boucle d’événements.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/server-sent-events.md

    ///
    
    ### Не-async *функції операцій шляху* { #non-async-path-operation-functions }
    
    Ви також можете використовувати звичайні функції `def` (без `async`) і використовувати `yield` так само.
    
    FastAPI подбає про коректне виконання, щоб воно не блокувало цикл подій.
    
    Оскільки в цьому випадку функція не async, коректним типом повернення буде `Iterable[Item]`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:25:54 GMT 2026
    - 7.1K bytes
    - Click Count (0)
Back to Top