- Sort Score
- Num 10 results
- Language All
Results 1091 - 1100 of 2,546 for context (0.04 seconds)
-
tests/test_dependency_contextvars.py
def test_dependency_contextvars(): """ Check that custom middlewares don't affect the contextvar context for dependencies. The code before yield and the code after yield should be run in the same contextvar context, so that request_state_context_var.reset(contextvar_token). If they are run in a different context, that raises an error. """ response = client.get("/user") assert response.json() == "deadpond"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 1.5K bytes - Click Count (0) -
callbacks/delete.go
rel, ok := db.Statement.Schema.Relationships.Relations[column] if !ok { continue } switch rel.Type { case schema.HasOne, schema.HasMany: queryConds := rel.ToQueryConditions(db.Statement.Context, db.Statement.ReflectValue) modelValue := reflect.New(rel.FieldSchema.ModelType).Interface() tx := db.Session(&gorm.Session{NewDB: true}).Model(modelValue) withoutConditions := false if db.Statement.Unscoped {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 5.8K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/templates.md
接著你可以在 `templates/item.html` 編寫模板,例如: ```jinja hl_lines="7" {!../../docs_src/templates/templates/item.html!} ``` ### 模板 context 值 { #template-context-values } 在包含以下內容的 HTML 中: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %} ...它會顯示你在傳入的 context `dict` 中提供的 `id`: ```Python {"id": id} ``` 例如,若 ID 為 `42`,會渲染為: ```html Item ID: 42 ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.3K bytes - Click Count (0) -
docs/tr/docs/advanced/templates.md
```jinja hl_lines="7" {!../../docs_src/templates/templates/item.html!} ``` ### Template Context Değerleri { #template-context-values } Şu HTML içeriğinde: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %} ...gösterilecek olan `id`, sizin "context" olarak ilettiğiniz `dict` içinden alınır: ```Python {"id": id} ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 3.8K bytes - Click Count (0) -
cmd/erasure_test.go
buffer := make([]byte, len(data), 2*len(data)) copy(buffer, data) erasure, err := NewErasure(t.Context(), test.dataBlocks, test.parityBlocks, blockSizeV2) if err != nil { t.Fatalf("Test %d: failed to create erasure: %v", i, err) } encoded, err := erasure.EncodeData(t.Context(), buffer) if err != nil { t.Fatalf("Test %d: failed to encode data: %v", i, err) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 4.8K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/dependencies-with-yield.md
## Gestionnaires de contexte { #context-managers } ### Que sont les « Context Managers » { #what-are-context-managers } Les « Context Managers » sont des objets Python que vous pouvez utiliser dans une instruction `with`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 13.9K bytes - Click Count (0) -
cmd/tier-handlers.go
Message: "Cannot use reserved tier name", StatusCode: http.StatusBadRequest, } ) func (api adminAPIHandlers) AddTierHandler(w http.ResponseWriter, r *http.Request) { ctx := r.Context() objAPI, cred := validateAdminReq(ctx, w, r, policy.SetTierAction) if objAPI == nil { return } password := cred.SecretKey
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Sep 12 20:44:05 GMT 2024 - 7.5K bytes - Click Count (0) -
docs/es/docs/advanced/templates.md
```jinja hl_lines="7" {!../../docs_src/templates/templates/item.html!} ``` ### Valores de Contexto de la Plantilla { #template-context-values } En el HTML que contiene: {% raw %} ```jinja Item ID: {{ id }} ``` {% endraw %} ...mostrará el `id` tomado del `dict` de "contexto" que pasaste: ```Python {"id": id} ``` Por ejemplo, con un ID de `42`, esto se renderizaría como:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 3.6K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.7.md
* Support context completion for kubectl config use-context ([#42336](https://github.com/kubernetes/kubernetes/pull/42336), [@superbrothers](https://github.com/superbrothers)) * print warning when delete current context ([#42538](https://github.com/kubernetes/kubernetes/pull/42538), [@adohe](https://github.com/adohe))
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu May 05 13:44:43 GMT 2022 - 308.7K bytes - Click Count (1) -
api/go1.15.txt
pkg crypto/rsa, method (*PublicKey) Equal(crypto.PublicKey) bool pkg crypto/tls, method (*Dialer) Dial(string, string) (net.Conn, error) pkg crypto/tls, method (*Dialer) DialContext(context.Context, string, string) (net.Conn, error) pkg crypto/tls, method (ClientAuthType) String() string pkg crypto/tls, method (CurveID) String() string pkg crypto/tls, method (SignatureScheme) String() string
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Jul 17 02:15:01 GMT 2020 - 7.6K bytes - Click Count (0)