Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 336 for scenes (0.25 sec)

  1. docs/en/docs/how-to/custom-docs-ui-assets.md

        Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper.
    
    ### Create a *path operation* to test it
    
    Now, to be able to test that everything works, create a *path operation*:
    
    ```Python hl_lines="36-38"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/response-directly.md

    By default, **FastAPI** would automatically convert that return value to JSON using the `jsonable_encoder` explained in [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Then, behind the scenes, it would put that JSON-compatible data (e.g. a `dict`) inside of a `JSONResponse` that would be used to send the response to the client.
    
    But you can return a `JSONResponse` directly from your *path operations*.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 3K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/compare/sds/util.go

    func NewSecretItemBuilder() SecretItemBuilder {
    	return &secretItemBuilder{}
    }
    
    // SecretItemBuilder wraps the process of setting fields for the SecretItem
    // and builds the Metadata fields from the cert contents behind the scenes
    type SecretItemBuilder interface {
    	Name(string) SecretItemBuilder
    	Data(string) SecretItemBuilder
    	Source(string) SecretItemBuilder
    	Destination(string) SecretItemBuilder
    	State(string) SecretItemBuilder
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/bigger-applications.md

        * You can also add [`Security` dependencies with `scopes`](../advanced/security/oauth2-scopes.md){.internal-link target=_blank}.
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. architecture/networking/pilot.md

    This is consumed in two ways:
    * Some components just block on `watcher.WaitForCRD(...)` before doing the work they need.
    * `kclient.NewDelayedInformer` can also fully abstract this away, by providing a client that handles this behind the scenes.
    
    #### Credentials Controller
    
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/oauth2-scopes.md

                        * No scopes required by itself.
                        * A dependency using `oauth2_scheme`.
                        * A `security_scopes` parameter of type `SecurityScopes`:
                            * This `security_scopes` parameter has a property `scopes` with a `list` containing all these scopes declared above, so:
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  7. tests/scopes_test.go

    	DB.Create(&users)
    
    	var users1, users2, users3 []User
    	DB.Scopes(NameIn1And2).Find(&users1)
    	if len(users1) != 2 {
    		t.Errorf("Should found two users's name in 1, 2, but got %v", len(users1))
    	}
    
    	DB.Scopes(NameIn1And2, NameIn2And3).Find(&users2)
    	if len(users2) != 1 {
    		t.Errorf("Should found one user's name is 2, but got %v", len(users2))
    	}
    
    	DB.Scopes(NameIn([]string{users[0].Name, users[2].Name})).Find(&users3)
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  8. docs/em/docs/advanced/security/oauth2-scopes.md

                            * 👉 `security_scopes` 🔢 ✔️ 🏠 `scopes` ⏮️ `list` ⚗ 🌐 👫 ↔ 📣 🔛,:
                                * `security_scopes.scopes` 🔜 🔌 `["me", "items"]` *➡ 🛠️* `read_own_items`.
                                * `security_scopes.scopes` 🔜 🔌 `["me"]` *➡ 🛠️* `read_users_me`, ↩️ ⚫️ 📣 🔗 `get_current_active_user`.
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/security/oauth2-scopes.md

                        * Selbst keine erforderlichen Scopes.
                        * Eine Abhängigkeit, die `oauth2_scheme` verwendet.
                        * Einen `security_scopes`-Parameter vom Typ `SecurityScopes`:
                            * Dieser `security_scopes`-Parameter hat ein Attribut `scopes` mit einer `list`e, die alle oben deklarierten Scopes enthält, sprich:
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/security/oauth2-scopes.md

                        * `security_scopes` 参数的类型是 `SecurityScopes`:
                            * `security_scopes` 参数的属性 `scopes` 是包含上述声明的所有作用域的**列表**,因此:
                                * `security_scopes.scopes` 包含用于*路径操作*的 `["me", "items"]`
                                * `security_scopes.scopes` 包含*路径操作* `read_users_me` 的 `["me"]`,因为它在依赖项里被声明
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:43:35 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top