altair.LookupSelection#
- class altair.LookupSelection(key=Undefined, param=Undefined, fields=Undefined, **kwds)#
LookupSelection schema 包装器。
- 参数:
- keystr,
FieldName
要查找的数据中的键。
- paramstr,
ParameterName
要查找的选择参数名称。
- fieldsSequence[str,
FieldName
] 要在外部数据或选择中查找的字段。如果未指定,则查询整个对象。
- keystr,
- __init__(key=Undefined, param=Undefined, fields=Undefined, **kwds)#
方法
__init__
([key, param, fields])copy
([deep, ignore])返回对象的副本。
from_dict
(dct[, validate])从字典表示构造类。
from_json
(json_string[, validate])从有效的 JSON 字符串实例化对象。
resolve_references
([schema])在此对象 schema 或根 schema 的上下文中解析引用。
to_dict
([validate, ignore, context])返回对象的字典表示。
to_json
([validate, indent, sort_keys, ...])将此对象的 JSON 表示输出为字符串。
validate
(instance[, schema])根据类 schema 在 rootschema 的上下文中验证实例。
validate_property
(name, value[, schema])根据属性 schema 在 rootschema 的上下文中验证属性。