profile naming and interface
See original GitHub issueOverview
There are two questions:
profile
is also in use for datapackage profilesprofile
interface could be updated
Naming
TBD
Interface
@pwalsh has wrote:
I’m not a fan of passing in data (errors and table in this case), modifying it, and then not returning that modified data. https://github.com/frictionlessdata/goodtables-py/blob/next-initial/goodtables/profiles/datapackage.py#L15
Based on the way profiles are used here, I don’t see why the profile function needs errors and table passed in as arguments - they are always empty. Why not get rid of the empty list assignments and have
errors, tables = profile_handler(source, **options) # sidenote: handler because more meaningful than func?
The reason why now profiles
gets predefined errors
and tables
- API consistency with checks (but that’s true we could removed errors and tables from profile
signature):
profile(errors, tables, ...)
check(errors, columns, ...)
Also cc @amercader
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Understanding Interface Profiles
Interface profiles are used when the same configuration is defined on a profile and applied to multiple interfaces. The parameters are defined in...
Read more >Interface Profiles
Profiles allow you to apply a set of existing parameters to a number of similar type objects, eliminating the need to enter the...
Read more >Interface Names and Descriptions Configuration
Interface names and descriptions can be obtained from NetFlow starting with v9 (Cisco), NetStream (Huawei), and IPFIX.
Read more >Named profiles for the AWS CLI
Create and use name profiles for AWS CLI commands. ... A named profile is a collection of settings and credentials that you can...
Read more >Creating user interface profiles
To create user interface profiles in IBM Cognos Business Intelligence, on the Library tab, copy an existing profile, then name and edit the...
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 FreeTop 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
Top GitHub Comments
@roll I saw and approved the PR
@amercader Both
profile
are pretty close as a dataset characteristic. But technically it’s still different things. I’m also a big fan of not having different things with the same names. But this one was tricky)So let’s:
profile
tohandler
(we get input from user and handler handles it)handler
signature