- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 275 for tuples (0.1 seconds)
-
tests/test_dependency_security_overrides.py
return "alice", required_scopes.scopes def get_data(): return [1, 2, 3] def get_data_override(): return [3, 4, 5] @app.get("/user") def read_user( user_data: tuple[str, list[str]] = Security(get_user, scopes=["foo", "bar"]), data: list[int] = Depends(get_data), ): return {"user": user_data[0], "scopes": user_data[1], "data": data} client = TestClient(app)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.4K bytes - Click Count (1) -
android-test-app/proguard-rules.pro
# no rules should be needed -whyareyoukeeping class okhttp3.internal.idn.IdnaMappingTable { *;Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Aug 03 19:38:06 GMT 2025 - 100 bytes - Click Count (0) -
cmd/testdata/config/invalid-types.yaml
Anis Eleuch <******@****.***> 1701941636 -0800
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Dec 07 09:33:56 GMT 2023 - 836 bytes - Click Count (0) -
clause/from.go
package clause // From from clause type From struct { Tables []Table Joins []Join } // Name from clause name func (from From) Name() string { return "FROM" } // Build build from clause func (from From) Build(builder Builder) { if len(from.Tables) > 0 { for idx, table := range from.Tables { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(table) } } else {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jul 15 02:25:10 GMT 2020 - 630 bytes - Click Count (0) -
tests/test_invalid_sequence_param.py
def test_invalid_tuple(): with pytest.raises( AssertionError, match="Query parameter 'q' must be one of the supported types", ): app = FastAPI() class Item(BaseModel): title: str @app.get("/items/") def read_items(q: tuple[Item, Item] = Query(default=None)): pass # pragma: no cover def test_invalid_dict(): with pytest.raises(
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) -
docs/fr/docs/tutorial/sql-databases.md
{* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[25:30] hl[25:27,30] *} ### Créer les tables de base au démarrage { #create-database-tables-on-startup } Nous allons créer les tables de base de données au démarrage de l'application. {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[32:37] hl[35:37] *} Ici, nous créons les tables lors d'un événement de démarrage de l'application.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 17.4K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/query-params-str-validations.md
#### 使用 `value.startswith()` 的字串 { #string-with-value-startswith } 你注意到了嗎?字串的 `value.startswith()` 可以接收一個 tuple,並逐一檢查 tuple 中的每個值: {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *} #### 隨機項目 { #a-random-item } 透過 `data.items()` 我們會得到一個包含每個字典項目鍵值對 tuple 的 <dfn title="可以用 for 迴圈遍歷的東西,例如 list、set 等等。">iterable object</dfn>。 我們用 `list(data.items())` 把這個可疊代物件轉成正式的 `list`。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 14.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt
* limitations under the License. */ package okhttp3.internal.duplex import java.util.concurrent.BlockingQueue import java.util.concurrent.LinkedBlockingQueue import java.util.concurrent.TimeUnit.SECONDS import okhttp3.MediaType import okhttp3.RequestBody import okio.BufferedSink import org.junit.jupiter.api.Assertions.assertTrue /** A duplex request body that keeps the provided sinks so they can be written to later. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
final List<Tuple3<String, String, String>> virtualHostList = new ArrayList<>(); ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @SuppressWarnings("unchecked") @Override public Tuple3<String, String, String>[] getVirtualHosts() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0) -
fastapi/dependencies/utils.py
response=response, dependency_cache=dependency_cache, ) def _validate_value_with_model_field( *, field: ModelField, value: Any, values: dict[str, Any], loc: tuple[str, ...] ) -> tuple[Any, list[Any]]: if value is None: if field.field_info.is_required(): return None, [get_missing_field_error(loc=loc)] else: return deepcopy(field.default), []Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 38.7K bytes - Click Count (3)