mirror of
https://github.com/nushell/nushell.git
synced 2025-05-19 17:30:45 +02:00
Fix output type of polars schema
(#15572)
# Description Output type of `polars schema` signature output type is of dataframe. It should be of type record. # User-Facing Changes - `polars schema` - how has an output type of record
This commit is contained in:
parent
4e307480e4
commit
89322f59f2
@ -25,10 +25,7 @@ impl PluginCommand for SchemaCmd {
|
||||
fn signature(&self) -> Signature {
|
||||
Signature::build(self.name())
|
||||
.switch("datatype-list", "creates a lazy dataframe", Some('l'))
|
||||
.input_output_type(
|
||||
Type::Custom("dataframe".into()),
|
||||
Type::Custom("dataframe".into()),
|
||||
)
|
||||
.input_output_type(Type::Custom("dataframe".into()), Type::record())
|
||||
.category(Category::Custom("dataframe".into()))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user