Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 243 for def (0.28 sec)

  1. docs/tr/docs/async.md

    Aynısı bağımlılıklar için de geçerlidir. Bir bağımlılık, "async def" yerine standart bir "def" işleviyse, harici iş parçacığı havuzunda çalıştırılır.
    
    ### Alt-bağımlıklar
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  2. docs/es/docs/async.md

    ```Python hl_lines="2"
    @app.get('/')
    def results():
        results = some_library()
        return results
    ```
    
    ---
    
    Si tu aplicación (de alguna manera) no tiene que comunicarse con nada más y esperar a que responda, usa `async def`.
    
    ---
    
    Si simplemente no lo sabes, usa `def` normal.
    
    ---
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  3. cmd/object-api-utils_test.go

    		// Remove doubled slash
    		{"abc//def//ghi", "abc/def/ghi"},
    		{"//abc", "/abc"},
    		{"///abc", "/abc"},
    		{"//abc//", "/abc"},
    		{"abc//", "abc"},
    
    		// Remove . elements
    		{"abc/./def", "abc/def"},
    		{"/./abc/def", "/abc/def"},
    		{"abc/.", "abc"},
    
    		// Remove .. elements
    		{"abc/def/ghi/../jkl", "abc/def/jkl"},
    		{"abc/def/../ghi/../jkl", "abc/jkl"},
    		{"abc/def/..", "abc"},
    		{"abc/def/../..", "."},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

            return doGet(userProperties != null ? userProperties.get(key) : null, def);
        }
    
        private static boolean doGet(Map<String, ?> userProperties, String key, boolean def) {
            return doGet(userProperties != null ? userProperties.get(key) : null, def);
        }
    
        private static boolean doGet(Object val, boolean def) {
            if (val instanceof Boolean bool) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 04 19:42:23 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. docs/ru/docs/async.md

    другие обычным образом через `def`, и такая схема вполне работоспособна. Функции,
    объявленные с помощью `def` будут запускаться на внешнем потоке (из пула),
    а не с помощью `await`.
    
    ### Другие служебные функции
    
    Любые другие служебные функции, которые вы вызываете напрямую, можно объявлять
    с использованием `def` или `async def`. FastAPI не будет влиять на то, как вы
    их запускаете.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  6. docs/pt/docs/async.md

    ```Python hl_lines="2"
    @app.get('/')
    def results():
        results = some_library()
        return results
    ```
    
    ---
    
    Se sua aplicação (de alguma forma) não tem que se comunicar com nada mais e esperar que o respondam, use `async def`.
    
    ---
    
    Se você simplesmente não sabe, use apenas `def`.
    
    ---
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProviderTest.java

            final Map<String, String> headerMap = new HashMap<>();
            provider.adjustActionResponseHeaders("application/xml", (k, v) -> headerMap.put(k, v));
            assertEquals(2, headerMap.size());
            assertEquals("def", headerMap.get("X-Def"));
            assertEquals("def2", headerMap.get("X-Def2"));
        }
    
        public void test_write_defaultAndSpecificHtml() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue May 06 09:19:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Config.java

         * @param key the property key to look up
         * @param def the default value to return if key is not found or cannot be parsed
         * @return the integer value of the property or the default value
         */
        public static int getInt(final Properties props, final String key, int def) {
            final String s = props.getProperty(key);
            if (s != null) {
                try {
                    def = Integer.parseInt(s);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/async-tests.md

    ## HTTPX
    
    Incluso si tu aplicación de **FastAPI** usa funciones `def` normales en lugar de `async def`, sigue siendo una aplicación `async` por debajo.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. docs/em/docs/async.md

    ### 🎧-🔗
    
    👆 💪 ✔️ 💗 🔗 &amp; [🎧-🔗](tutorial/dependencies/sub-dependencies.md){.internal-link target=_blank} 🚫 🔠 🎏 (🔢 🔢 🔑), 👫 💪 ✍ ⏮️ `async def` &amp; ⏮️ 😐 `def`. ⚫️ 🔜 👷, &amp; 🕐 ✍ ⏮️ 😐 `def` 🔜 🤙 🔛 🔢 🧵 (⚪️➡️ 🧵) ↩️ ➖ "⌛".
    
    ### 🎏 🚙 🔢
    
    🙆 🎏 🚙 🔢 👈 👆 🤙 🔗 💪 ✍ ⏮️ 😐 `def` ⚖️ `async def` &amp; FastAPI 🏆 🚫 📉 🌌 👆 🤙 ⚫️.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top