Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 311 for resync (0.03 sec)

  1. docs/bn/docs/index.md

    ```
    
    <details markdown="1">
    <summary>অথবা ব্যবহার করুন <code>async def</code>...</summary>
    
    যদি আপনার কোড `async` / `await`, ব্যবহার করে তাহলে `async def` ব্যবহার করুন:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  2. docs/hu/docs/index.md

    <details markdown="1">
    <summary>Vagy használd az <code>async def</code>-et...</summary>
    
    Ha a kódod `async` / `await`-et, használ `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int, q: Union[str, None] = None):
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  3. src/archive/zip/register.go

    type Decompressor func(r io.Reader) io.ReadCloser
    
    var flateWriterPool sync.Pool
    
    func newFlateWriter(w io.Writer) io.WriteCloser {
    	fw, ok := flateWriterPool.Get().(*flate.Writer)
    	if ok {
    		fw.Reset(w)
    	} else {
    		fw, _ = flate.NewWriter(w, 5)
    	}
    	return &pooledFlateWriter{fw: fw}
    }
    
    type pooledFlateWriter struct {
    	mu sync.Mutex // guards Close and Write
    	fw *flate.Writer
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. docs/tr/docs/index.md

    <details markdown="1">
    <summary>Ya da <code>async def</code>...</summary>
    
    Eğer kodunuzda `async` / `await` varsa, `async def` kullanalım:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                byte[] buffer = new byte[256];
                System.arraycopy(SMBUtil.SMB2_HEADER, 0, buffer, 0, 4);
                // Set up async message fields
                SMBUtil.writeInt4(ServerMessageBlock2.SMB2_FLAGS_ASYNC_COMMAND, buffer, 16); // flags with async
                SMBUtil.writeInt8(789L, buffer, 32); // async ID
                SMBUtil.writeInt8(456L, buffer, 40); // session ID
                return buffer;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/first-steps.md

    In diesem Fall handelt es sich um eine `async`-Funktion.
    
    ---
    
    Sie könnten sie auch als normale Funktion anstelle von `async def` definieren:
    
    {* ../../docs_src/first_steps/tutorial003.py hl[7] *}
    
    /// note | Hinweis
    
    Wenn Sie den Unterschied nicht kennen, lesen Sie [Async: *„In Eile?“*](../async.md#in-eile){.internal-link target=_blank}.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. docs/fa/docs/index.md

    ```
    
    <details markdown="1">
    <summary>همچنین می‌توانید از <code>async def</code>... نیز استفاده کنید</summary>
    
    اگر در کدتان از `async` / `await` استفاده می‌کنید، از `async def` برای تعریف تابع خود استفاده کنید:
    
    ```Python hl_lines="9  14"
    from typing import Optional
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 26K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/testing.md

    ///
    
    /// tip | Порада
    
    Якщо Вам потрібно викликати `async`-функції у ваших тестах, окрім відправлення запитів до FastAPI-застосунку (наприклад, асинхронні функції роботи з базою даних), перегляньте [Асинхронні тести](../advanced/async-tests.md){.internal-link target=_blank} у розширеному керівництві.
    
    ///
    
    ## Розділення тестів
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:12:19 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/testing.md

    ///
    
    /// tip | Consejo
    
    Si quieres llamar a funciones `async` en tus pruebas además de enviar solicitudes a tu aplicación FastAPI (por ejemplo, funciones asincrónicas de bases de datos), echa un vistazo a las [Pruebas Asincrónicas](../advanced/async-tests.md){.internal-link target=_blank} en el tutorial avanzado.
    
    ///
    
    ## Separando pruebas
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/background-tasks.md

    **FastAPI** 🔜 ✍ 🎚 🆎 `BackgroundTasks` 👆 &amp; 🚶‍♀️ ⚫️ 👈 🔢.
    
    ## ✍ 📋 🔢
    
    ✍ 🔢 🏃 🖥 📋.
    
    ⚫️ 🐩 🔢 👈 💪 📨 🔢.
    
    ⚫️ 💪 `async def` ⚖️ 😐 `def` 🔢, **FastAPI** 🔜 💭 ❔ 🍵 ⚫️ ☑.
    
    👉 💼, 📋 🔢 🔜 ✍ 📁 (⚖ 📨 📧).
    
    &amp; ✍ 🛠️ 🚫 ⚙️ `async` &amp; `await`, 👥 🔬 🔢 ⏮️ 😐 `def`:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    ## 🚮 🖥 📋
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top