-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
maintenanceimproving code quality; not features or bugsimproving code quality; not features or bugstsdbRelated to test suite functionalityRelated to test suite functionality
Description
For purposes of type-checking (which help to reveal actual bugs), the delphin.tsdb module could be made simpler. Mainly this has to do with function parameters that change the structure of the thing that is returned. For instance:
delphin.tsdb.split()should always return a tuple of strings, some separate function should do the castingdelphin.tsdb.Databaseshould remove theautocastparameter/attributedelphin.tsdb.Database.select_from()should remove thecastparameterdelphin.tsdb.join()should remove thefieldsparameter (maybe)
Then there would be separate functions for casting or formatting all columns in a record.
These are backwards-incompatible changes, so either they need to be done with different names or wait until v2.0.
Metadata
Metadata
Assignees
Labels
maintenanceimproving code quality; not features or bugsimproving code quality; not features or bugstsdbRelated to test suite functionalityRelated to test suite functionality