- Sort Score
- Num 10 results
- Language All
Results 611 - 620 of 643 for foo (0.01 seconds)
-
cmd/sts-handlers.go
return } } // We map the X.509 subject common name to the policy. So, a client // with the common name "foo" will be associated with the policy "foo". // Other mapping functions - e.g. public-key hash based mapping - are // possible but not implemented. // // Group mapping is not possible with standard X.509 certificates.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.6K bytes - Click Count (0) -
tests/test_application.py
assert "redoc@2" in response.text def test_enum_status_code_response(): response = client.get("/enum-status-code") assert response.status_code == 201, response.text assert response.json() == "foo bar" def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 51.9K bytes - Click Count (0) -
tests/associations_test.go
id := uint(100) user := AssociationEmptyUser{ ID: id, Name: "jinzhu", Pets: []AssociationEmptyPet{ {AssociationEmptyUserID: &id, Name: "bar"}, {AssociationEmptyUserID: &id, Name: "foo"}, }, } err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Create(&user).Error if err != nil { t.Fatalf("Failed to create, got error: %v", err) } var result AssociationEmptyUser
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 13.3K bytes - Click Count (0) -
cmd/endpoint.go
} // As this is path in the URL, we should use path package, not filepath package. // On MS Windows, filepath.Clean() converts into Windows path style ie `/foo` becomes `\foo` u.Path = path.Clean(u.Path) if isEmptyPath(u.Path) { return ep, fmt.Errorf("empty or root path is not supported in URL endpoint") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.5K bytes - Click Count (0) -
doc/go_spec.html
fmt.Println(s1, s2) // prints [42] [42 2 3] var m1 = make(map[string]int) var m2 = m1 // m2 stores the map descriptor of m1 m1["foo"] = 42 // setting m1["foo"] changes m2["foo"] as well fmt.Println(m2["foo"]) // prints 42 </pre> <h3 id="If_statements">If statements</h3> <p> "If" statements specify the conditional execution of two branches
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1) -
docs/fr/docs/index.md
* Si ce n'est pas le cas, le client voit une erreur utile et claire. * Vérifier qu'il existe un paramètre de requête facultatif nommé `q` (comme dans `http://127.0.0.1:8000/items/foo?q=somequery`) pour les requêtes `GET`. * Puisque le paramètre `q` est déclaré avec `= None`, il est facultatif.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 22K bytes - Click Count (0) -
docs/es/docs/index.md
* Validará que el `item_id` sea del tipo `int` para requests `GET` y `PUT`. * Si no lo es, el cliente verá un error útil y claro. * Comprobará si hay un parámetro de query opcional llamado `q` (como en `http://127.0.0.1:8000/items/foo?q=somequery`) para requests `GET`. * Como el parámetro `q` está declarado con `= None`, es opcional. * Sin el `None` sería requerido (como lo es el body en el caso con `PUT`).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 24.3K bytes - Click Count (0) -
docs/zh-hant/docs/index.md
--- 回到前面的的程式碼範例,**FastAPI** 還會: - 驗證 `GET` 和 `PUT` 請求路徑中是否包含 `item_id`。 - 驗證 `GET` 和 `PUT` 請求中的 `item_id` 是否是 `int` 型別。 - 如果驗證失敗,將會返回清楚有用的錯誤訊息。 - 查看 `GET` 請求中是否有命名為 `q` 的查詢參數 (例如 `http://127.0.0.1:8000/items/foo?q=somequery`)。 - 因為 `q` 參數被宣告為 `= None`,所以是選填的。 - 如果沒有宣告 `None`,則此參數將會是必填 (例如 `PUT` 範例的請求 body)。 - 對於 `PUT` 的請求 `/items/{item_id}`,將會讀取 body 為 JSON: - 驗證是否有必填屬性 `name` 且型別是 `str`。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 18.8K bytes - Click Count (0) -
docs/pt/docs/index.md
* Se não é validado, o cliente verá um útil, claro erro. * Verificar se existe um parâmetro de _query_ opcional nomeado como `q` (como em `http://127.0.0.1:8000/items/foo?q=somequery`) para requisições `GET`. * Como o parâmetro `q` é declarado com `= None`, ele é opcional. * Sem o `None` ele poderia ser obrigatório (como o corpo no caso de `PUT`).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 24.5K bytes - Click Count (0) -
docs/tr/docs/index.md
* `item_id`'nin `GET` ve `PUT` istekleri için, tipinin `int` olduğunu doğrulayacak. * Eğer değilse, sebebini belirten bir hata mesajı gösterecek. * Opsiyonel bir `q` parametresinin `GET` isteği içinde (`http://127.0.0.1:8000/items/foo?q=somequery` gibi) olup olmadığını kontrol edecek * `q` parametresini `= None` ile oluşturduğumuz için, opsiyonel bir parametre olacak. * Eğer `None` olmasa zorunlu bir parametre olacaktı (`PUT` metodunun gövdesinde olduğu gibi).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 21.9K bytes - Click Count (0)