- Sort Score
- Result 10 results
- Languages All
Results 841 - 850 of 1,403 for lista (0.11 sec)
-
docs/zh/docs/python-types.md
``` ### 嵌套类型 有些容器数据结构可以包含其他的值,比如 `dict`、`list`、`set` 和 `tuple`。它们内部的值也会拥有自己的类型。 你可以使用 Python 的 `typing` 标准库来声明这些类型以及子类型。 它专门用来支持这些类型提示。 #### 列表 例如,让我们来定义一个由 `str` 组成的 `list` 变量。 从 `typing` 模块导入 `List`(注意是大写的 `L`): ```Python hl_lines="1" {!../../docs_src/python_types/tutorial006.py!} ``` 同样以冒号(`:`)来声明这个变量。 输入 `List` 作为类型。 由于列表是带有"子类型"的类型,所以我们把子类型放在方括号中:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
} in.macros[name] = &Macro{ name: name, args: args, tokens: tokens, } } // macroDefinition returns the list of formals and the tokens of the definition. // The argument list is nil for no parens on the definition; otherwise a list of // formal argument names. func (in *Input) macroDefinition(name string) ([]string, []Token) { prevCol := in.Stack.Col() tok := in.Stack.Next()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 06 13:17:27 UTC 2024 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/FileAuthenticationDbm.java
public ColumnInfo columnUpdatedTime() { return _columnUpdatedTime; } public ColumnInfo columnUsername() { return _columnUsername; } protected List<ColumnInfo> ccil() { List<ColumnInfo> ls = newArrayList(); ls.add(columnCreatedBy()); ls.add(columnCreatedTime()); ls.add(columnFileConfigId()); ls.add(columnHostname());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.6K bytes - Viewed (0) -
common-protos/k8s.io/api/authentication/v1/generated.proto
// Token is the opaque bearer token. // +optional optional string token = 1; // Audiences is a list of the identifiers that the resource server presented // with the token identifies as. Audience-aware token authenticators will // verify that the token was intended for at least one of the audiences in // this list. If no audiences are provided, the audience will default to the // audience of the Kubernetes apiserver.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 6.7K bytes - Viewed (0) -
docs_src/header_param_models/tutorial002_py310.py
app = FastAPI() class CommonHeaders(BaseModel): model_config = {"extra": "forbid"} host: str save_data: bool if_modified_since: str | None = None traceparent: str | None = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: CommonHeaders = Header()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 392 bytes - Viewed (0) -
docs_src/header_param_models/tutorial002_pv1_py310.py
class CommonHeaders(BaseModel): class Config: extra = "forbid" host: str save_data: bool if_modified_since: str | None = None traceparent: str | None = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: CommonHeaders = Header()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 396 bytes - Viewed (0) -
docs_src/header_param_models/tutorial001_an_py39.py
from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): host: str save_data: bool if_modified_since: Union[str, None] = None traceparent: Union[str, None] = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: Annotated[CommonHeaders, Header()]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 411 bytes - Viewed (0) -
docs_src/body_nested_models/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: list[str] = [] @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item): results = {"item_id": item_id, "item": item}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 369 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.Serializable; import java.nio.charset.Charset; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.fileupload2.core.DiskFileItem; import org.apache.commons.fileupload2.core.DiskFileItemFactory; import org.apache.commons.fileupload2.core.FileUploadByteCountLimitException;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Oct 23 13:27:21 UTC 2024 - 18.6K bytes - Viewed (0) -
cmd/signature-v2.go
"net/url" "sort" "strconv" "strings" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/auth" ) // Whitelist resource list that will be used in query string for signature-V2 calculation. // // This list should be kept alphabetically sorted, do not hastily edit. var resourceList = []string{ "acl", "cors", "delete", "encryption", "legal-hold", "lifecycle",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.2K bytes - Viewed (0)