-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added static typing to *_data classes in data_readers (#677)
* added static typing for csv_data * added static typing for graph_data * added static typing to parquet_data * added static typing for text_data '' * removed if statement * changed repeated conditionals to single assert * fixed formatting * changed data_type from Optional[str] to str * removed extra casts * removed cast to self.delimiter * cleaned up omitted list * changed base_data test to work with new static typing * removed IO casts in parquet_data * removed options cast in text_data * fixed pre-commit failure Co-authored-by: Taylor Turner <taylorfturner@gmail.com>
- Loading branch information
1 parent
0e49a89
commit 44a3256
Showing
8 changed files
with
203 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.