Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,178 for strs (0.03 sec)

  1. docs/tr/docs/tutorial/query-params.md

    Fakat, bir sorgu parametresini zorunlu yapmak istiyorsanız varsayılan bir değer atamamanız yeterli olacaktır:
    
    {* ../../docs_src/query_params/tutorial005.py hl[6:7] *}
    
    Burada `needy` parametresi `str` tipinden oluşan zorunlu bir sorgu parametresidir.
    
    Eğer tarayıcınızda şu bağlantıyı:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/security/oauth2-scopes.md

    Para eso, actualizamos el modelo de Pydantic `TokenData` con una nueva propiedad `scopes`.
    
    Al validar los datos con Pydantic podemos asegurarnos de que tenemos, por ejemplo, exactamente una `list` de `str` con los scopes y un `str` con el `username`.
    
    En lugar de, por ejemplo, un `dict`, o algo más, ya que podría romper la aplicación en algún punto posterior, haciéndolo un riesgo de seguridad.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. tests/test_regex_deprecated_params.py

    from .utils import needs_py310
    
    
    def get_client():
        app = FastAPI()
        with pytest.warns(FastAPIDeprecationWarning):
    
            @app.get("/items/")
            async def read_items(
                q: Annotated[str | None, Query(regex="^fixedquery$")] = None,
            ):
                if q:
                    return f"Hello {q}"
                else:
                    return "Hello World"
    
        client = TestClient(app)
        return client
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SID.java

            }
            if (domainName != null) {
                String str;
    
                if (type == SID_TYPE_DOMAIN) {
                    str = domainName;
                } else if (type == SID_TYPE_WKN_GRP || domainName.equals("BUILTIN")) {
                    if (type == SID_TYPE_UNKNOWN) {
                        str = toString();
                    } else {
                        str = acctName;
                    }
                } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

        @Test
        public void testSubstitution() throws IOException {
            String str = "port = 4141" + LINE_SEPARATOR + "host = localhost"
                    + LINE_SEPARATOR + "url = https://${host}:${port}/service"
                    + LINE_SEPARATOR;
            MavenProperties properties = new MavenProperties();
            properties.load(new StringReader(str));
            properties.put("url", "https://localhost:4141/service");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    Möglicherweise stellen Sie fest, dass Sie zum Erstellen einer Instanz einer Python-Klasse die gleiche Syntax verwenden.
    
    Zum Beispiel:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In diesem Fall ist `fluffy` eine Instanz der Klasse `Cat`.
    
    Und um `fluffy` zu erzeugen, rufen Sie `Cat` auf.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/path-params-numeric-validations.md

    /// note
    
    路径参数总是必需的,因为它必须是路径的一部分。
    
    所以,你应该在声明时使用 `...` 将其标记为必需参数。
    
    然而,即使你使用 `None` 声明路径参数或设置一个其他默认值也不会有任何影响,它依然会是必需参数。
    
    ///
    
    ## 按需对参数排序
    
    假设你想要声明一个必需的 `str` 类型查询参数 `q`。
    
    而且你不需要为该参数声明任何其他内容,所以实际上你并不需要使用 `Query`。
    
    但是你仍然需要使用 `Path` 来声明路径参数 `item_id`。
    
    如果你将带有「默认值」的参数放在没有「默认值」的参数之前,Python 将会报错。
    
    但是你可以对其重新排序,并将不带默认值的值(查询参数 `q`)放到最前面。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. tests/embedded_struct_test.go

    }
    
    func (c *Content) Scan(src interface{}) error {
    	var value Content
    	str, ok := src.(string)
    	if !ok {
    		byt, ok := src.([]byte)
    		if !ok {
    			return errors.New("Embedded.Scan byte assertion failed")
    		}
    		if err := json.Unmarshal(byt, &value); err != nil {
    			return err
    		}
    	} else {
    		if err := json.Unmarshal([]byte(str), &value); err != nil {
    			return err
    		}
    	}
    
    	*c = value
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. 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)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. docs/iam/opa.md

    OPA is a lightweight general-purpose policy engine that can be co-located with MinIO server, in this document we talk about how to use OPA HTTP API to authorize requests. It can be used with any type of credentials (STS based like OpenID or LDAP, regular IAM users or service accounts).
    
    OPA is enabled through MinIO's Access Management Plugin feature.
    
    ## Get started
    
    ### 1. Start OPA in a container
    
    ```sh
    podman run -it \
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top