DESCRIBE STREAMLIT¶
描述 Streamlit 对象中的列。
DESCRIBE 可以缩写为 DESC。
语法¶
DESC[RIBE] STREAMLIT <name>
必填参数¶
name
指定要描述的 Streamlit 对象的标识符。如果标识符包含空格或特殊字符,则整个字符串必须放在双引号内。放在双引号内的标识符也区分大小写。
使用说明¶
To post-process the output of this command, you can use the pipe operator (
->>
) or the RESULT_SCAN function. Both constructs treat the output as a result set that you can query.此命令的输出列名称以小写形式生成。如果您通过管道运算符或 RESULT_SCAN 函数使用此命令的结果集,请在查询中对列名使用 加双引号的标识符,以确保它们与已扫描输出中的列名相匹配。例如,如果输出列的名称为
type
,则为标识符指定"type"
。
输出¶
命令输出在以下列中提供有关 Streamlit 对象的信息:
列 |
描述 |
---|---|
|
Streamlit 对象的名称。 |
|
Streamlit 对象文件的位置(对于旧版 Streamlit 应用程序)。 |
|
Streamlit 对象的 Python 文件的名称。 |
|
运行 Streamlit 应用程序发出的查询的仓库。 |
|
与 Streamlit 对象关联的唯一 ID。 |
|
Streamlit 应用程序的默认 Python 软件包。 |
|
用户在 |
|
用户在 |
|
Streamlit 对象文件的位置。 |