Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,080 for Str (0.01 sec)

  1. docs/uk/docs/tutorial/first-steps.md

    ///
    
    ### Крок 5: поверніть результат
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Ви можете повернути `dict`, `list`, а також окремі значення `str`, `int`, ітд.
    
    Також можна повернути моделі Pydantic (про це ви дізнаєтесь пізніше).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            try {
                if (threadConfiguration.endsWith("C")) {
                    String str = threadConfiguration.substring(0, threadConfiguration.length() - 1);
                    float coreMultiplier = Float.parseFloat(str);
    
                    if (coreMultiplier <= 0.0f) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/sql-databases.md

    * `Field(index=True)` informa ao SQLModel que ele deve criar um **índice SQL** para essa coluna, o que permitirá buscas mais rápidas no banco de dados ao ler dados filtrados por essa coluna.
    
        O SQLModel saberá que algo declarado como `str` será uma coluna SQL do tipo `TEXT` (ou `VARCHAR`, dependendo do banco de dados).
    
    ### Criar um Engine
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. docs/vi/docs/tutorial/first-steps.md

    ///
    
    ### Bước 5: Nội dung trả về
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Bạn có thể trả về một `dict`, `list`, một trong những giá trị đơn như `str`, `int`,...
    
    Bạn cũng có thể trả về Pydantic model (bạn sẽ thấy nhiều hơn về nó sau).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            }
            return value.replaceAll(escapedHighlightPre, highlightTagPre).replaceAll(escapedHighlightPost, highlightTagPost);
        }
    
        protected String removeHighlightTag(final String str) {
            return str.replaceAll(originalHighlightTagPre, StringUtil.EMPTY).replaceAll(originalHighlightTagPost, StringUtil.EMPTY);
        }
    
        public HighlightInfo createHighlightInfo() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    something(some_argument, some_keyword_argument="foo")
    ```
    
    これを「呼び出し可能」なものと呼びます。
    
    ## 依存関係としてのクラス
    
    Pythonのクラスのインスタンスを作成する際に、同じ構文を使用していることに気づくかもしれません。
    
    例えば:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    この場合、`fluffy`は`Cat`クラスのインスタンスです。
    
    そして`fluffy`を作成するために、`Cat`を「呼び出している」ことになります。
    
    そのため、Pythonのクラスもまた「呼び出し可能」です。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/dependencies/index.md

    E com qualquer retorno que você desejar.
    
    Neste caso, a dependência espera por:
    
    * Um parâmetro de consulta opcional `q` do tipo `str`.
    * Um parâmetro de consulta opcional `skip` do tipo `int`, e igual a `0` por padrão.
    * Um parâmetro de consulta opcional `limit` do tipo `int`, e igual a `100` por padrão.
    
    E então retorna um `dict` contendo esses valores.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/first-steps.md

    ///
    
    ### Step 5: return the content
    
    {* ../../docs_src/first_steps/tutorial001.py hl[8] *}
    
    You can return a `dict`, `list`, singular values as `str`, `int`, etc.
    
    You can also return Pydantic models (you'll see more about that later).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:48:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/first-steps.md

    違いが分からない場合は、[Async: *"急いでいますか?"*](../async.md#_1){.internal-link target=_blank}を確認してください。
    
    ///
    
    ### Step 5: コンテンツの返信
    
    ```Python hl_lines="8"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `dict`、`list`、`str`、`int`などを返すことができます。
    
    Pydanticモデルを返すこともできます(後で詳しく説明します)。
    
    JSONに自動的に変換されるオブジェクトやモデルは他にもたくさんあります(ORMなど)。 お気に入りのものを使ってみてください。すでにサポートされている可能性が高いです。
    
    ## まとめ
    
    * `FastAPI`をインポート
    * `app`インスタンスを生成
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/bigger-applications.md

    {!../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    As the path of each *path operation* has to start with `/`, like in:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...the prefix must not include a final `/`.
    
    So, the prefix in this case is `/items`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top