Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 855 for asyncpg (0.1 sec)

  1. tests/test_regex_deprecated_body.py

    from typing_extensions import Annotated
    
    from .utils import needs_py310
    
    
    def get_client():
        app = FastAPI()
        with pytest.warns(DeprecationWarning):
    
            @app.post("/items/")
            async def read_items(
                q: Annotated[str | None, Form(regex="^fixedquery$")] = None,
            ):
                if q:
                    return f"Hello {q}"
                else:
                    return "Hello World"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. docs/en/mkdocs.yml

              show_symbol_type_heading: true
              show_symbol_type_toc: true
    
    nav:
    - FastAPI: index.md
    - features.md
    - Learn:
      - learn/index.md
      - python-types.md
      - async.md
      - environment-variables.md
      - virtual-environments.md
      - Tutorial - User Guide:
        - tutorial/index.md
        - tutorial/first-steps.md
        - tutorial/path-params.md
        - tutorial/query-params.md
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:28:02 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. README.ja.md

        * 対応フィールド名
    
    2回目以降のインスタンス生成時には、作成済みの設定が再利用されます。
    
    ### Suggestリクエスト
    
    ```java
    SuggestResponse response = suggester.suggest().setQuery("kensaku").execute().getResponse();
    ```
    
    ### Suggest async widh lambda
    
    ```
    suggester.suggest().setQuery("kensaku").execute()
      .done(
        response -> {}
      ).error(
        t -> {}
      );
    ```
    
    ### サジェストドキュメントの登録
    
    ```java
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Jul 27 10:00:55 UTC 2015
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      return TensorHandlePtr(result_handle);
    }
    
    void TestCollective(bool async) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      std::unique_ptr<TFE_ContextOptions, decltype(&TFE_DeleteContextOptions)> opts(
          TFE_NewContextOptions(), TFE_DeleteContextOptions);
      TFE_ContextOptionsSetAsync(opts.get(), async);
      std::unique_ptr<TF_Buffer, decltype(&TF_DeleteBuffer)> config(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 06 23:56:17 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/dependencies/sub-dependencies.md

    🏧 😐 🌐❔ 👆 💭 👆 💪 🔗 🤙 🔠 🔁 (🎲 💗 🕰) 🎏 📨 ↩️ ⚙️ "💾" 💲, 👆 💪 ⚒ 🔢 `use_cache=False` 🕐❔ ⚙️ `Depends`:
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ## 🌃
    
    ↖️ ⚪️➡️ 🌐 🎀 🔤 ⚙️ 📥, **🔗 💉** ⚙️ 🙅.
    
    🔢 👈 👀 🎏 *➡ 🛠️ 🔢*.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. docs/en/docs/deployment/manually.md

    /// tip
    
    By adding the `standard`, Uvicorn will install and use some recommended extra dependencies.
    
    That including `uvloop`, the high-performance drop-in replacement for `asyncio`, that provides the big concurrency performance boost.
    
    When you install FastAPI with something like `pip install "fastapi[standard]"` you already get `uvicorn[standard]` as well.
    
    ///
    
    ## Run the Server Program
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 25 02:44:06 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. docs/ru/docs/alternatives.md

    Sanic был одним из первых чрезвычайно быстрых Python-фреймворков основанных на `asyncio`.
    Он был сделан очень похожим на Flask.
    
    /// note | "Технические детали"
    
    В нём использован <a href="https://github.com/MagicStack/uvloop" class="external-link" target="_blank">`uvloop`</a> вместо стандартного цикла событий `asyncio`, что и сделало его таким быстрым.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  8. pyproject.toml

        "Topic :: Software Development :: Libraries",
        "Topic :: Software Development",
        "Typing :: Typed",
        "Development Status :: 4 - Beta",
        "Environment :: Web Environment",
        "Framework :: AsyncIO",
        "Framework :: FastAPI",
        "Framework :: Pydantic",
        "Framework :: Pydantic :: 1",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 14:19:56 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. cmd/untar.go

    			name = trimLeadingSlash(path.Clean(name))
    		default:
    			// ignore symlink'ed
    			continue
    		}
    		if o.prefixAll != "" {
    			name = pathJoin(o.prefixAll, name)
    		}
    
    		// Do small files async
    		n++
    		if header.Size <= smallFileThreshold {
    			asyncWriters <- struct{}{}
    			b := poolBuf128k.Get().([]byte)
    			if cap(b) < int(header.Size) {
    				b = make([]byte, smallFileThreshold)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 6K bytes
    - Viewed (2)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java

                endLatch.await();
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
    
            // despite all are back, we need to make sure all the events are processed (are async)
            // this one should block until all processed
            listener.transferSucceeded(new TransferEvent.Builder(session, resource)
                    .setType(TransferEvent.EventType.SUCCEEDED)
                    .build());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top