`frictionless validate` no longer accepts list of resources
See original GitHub issueAccording to the specs, resource path should accept a list of files:
To support this use case the path property MAY be an array of strings rather than a single string:
Since frictionless v4.40.0, this causes an error:
TypeError: stat: path should be string, bytes, os.PathLike or integer, not list
I make extensive use of list of paths, so I hope this can be fixed. 😄
Test files
datapackage.json:
{
"profile": "tabular-data-package",
"resources": [
{
"name": "measurements",
"path": [
"https://github.com/frictionlessdata/frictionless-py/files/8941635/file_1.csv",
"https://github.com/frictionlessdata/frictionless-py/files/8941634/file_2.csv"
],
"profile": "tabular-data-resource",
"schema": {
"fields": [
{
"name": "location",
"type": "string"
},
{
"name": "measurement",
"type": "number"
}
]
}
}
]
}
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Validating Data - Frictionless Framework
Tabular data validation is a process of identifying problems that have occured in your data so you can correct them.
Read more >Frictionless Framework (v5) - GitHub
Data management framework for Python that provides functionality to describe, extract, validate, and transform tabular data (DEVT Framework). It supports a ...
Read more >Stripe API reference – curl
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries....
Read more >Frictionless Data Standards - Commonplace
According to a recent paper, more than 30% of the published articles in the field with a supplementary Excel gene list contain gene...
Read more >tableschema.r: Table Schema 'Frictionless Data'
age can load and validate any table schema descriptor, ... ing the empty list means that no conversion to null will be done,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@shashigharti Can you please add one? We should have packages like this in data. THe problem was only related to the CLI (report.to_summary)
@peterdesmet The fix is on its way. There are still a few improvements we need to add to the summary though