Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 891 - 900 of 1,216 for strs (0.02 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

        private static String stripLeadingAndTrailingQuotes(String str) {
            final int length = str.length();
            if (length > 1
                    && str.startsWith("\"")
                    && str.endsWith("\"")
                    && str.substring(1, length - 1).indexOf('"') == -1) {
                str = str.substring(1, length - 1);
            }
    
            return str;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  2. docs/es/docs/advanced/settings.md

    Por ejemplo, si tienes una función:
    
    ```Python
    @lru_cache
    def say_hi(name: str, salutation: str = "Ms."):
        return f"Hello {salutation} {name}"
    ```
    
    tu programa podría ejecutarse así:
    
    ```mermaid
    sequenceDiagram
    
    participant code as Código
    participant function as say_hi()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  3. docs/fr/docs/advanced/custom-response.md

    Vous pouvez la renvoyer directement.
    
    Elle accepte les paramètres suivants :
    
    - `content` - Une `str` ou des `bytes`.
    - `status_code` - Un code d'état HTTP de type `int`.
    - `headers` - Un `dict` de chaînes.
    - `media_type` - Une `str` donnant le media type. Par exemple « text/html ».
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/query-params.md

    {* ../../docs_src/query_params/tutorial005_py310.py hl[6:7] *}
    
    Ici, le paramètre de requête `needy` est un paramètre de requête requis de type `str`.
    
    Si vous ouvrez dans votre navigateur une URL comme :
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ... sans ajouter le paramètre requis `needy`, vous verrez une erreur comme :
    
    ```JSON
    {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  5. tests/test_dependency_duplicates.py

    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    client = TestClient(app)
    
    
    class Item(BaseModel):
        data: str
    
    
    def duplicate_dependency(item: Item):
        return item
    
    
    def dependency(item2: Item):
        return item2
    
    
    def sub_duplicate_dependency(
        item: Item, sub_item: Item = Depends(duplicate_dependency)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. docs/sts/dex.md

    ```
    export MINIO_IDENTITY_OPENID_CLAIM_NAME=groups
    ```
    
    and add relevant policies on MinIO using `mc admin policy create myminio/ <group_name> group-access.json`
    
    ## Explore Further
    
    - [MinIO STS Quickstart Guide](https://docs.min.io/community/minio-object-store/developers/security-token-service.html)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/body.md

    * If the parameter is of a **singular type** (like `int`, `float`, `str`, `bool`, etc) it will be interpreted as a **query** parameter.
    * If the parameter is declared to be of the type of a **Pydantic model**, it will be interpreted as a request **body**.
    
    /// note
    
    FastAPI will know that the value of `q` is not required because of the default value `= None`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/dependencies/classes-as-dependencies.md

    Vous remarquerez que pour créer une instance d'une classe Python, vous utilisez la même syntaxe.
    
    Par exemple :
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    Dans ce cas, `fluffy` est une instance de la classe `Cat`.
    
    Et pour créer `fluffy`, vous « appelez » `Cat`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/path-params-numeric-validations.md

    /// tip | Подсказка
    
    Это не имеет большого значения, если вы используете `Annotated`.
    
    ///
    
    Допустим, вы хотите объявить query-параметр `q` как обязательный параметр типа `str`.
    
    И если вам больше ничего не нужно указывать для этого параметра, то нет необходимости использовать `Query`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  10. docs/uk/docs/advanced/custom-response.md

    Головний клас `Response`, від якого успадковуються всі інші відповіді.
    
    Ви можете повертати його безпосередньо.
    
    Він приймає такі параметри:
    
    - `content` - `str` або `bytes`.
    - `status_code` - `int` - код статусу HTTP.
    - `headers` - `dict` строк.
    - `media_type` - `str`, що задає медіа-тип, напр. `"text/html"`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 17K bytes
    - Click Count (0)
Back to Top