Commit 237c512
committed
Safeguards
It seems the `last_commit` is not always returned by the API when
browsing files in the Huggingface repository. This ensures that even
if the 'last_commit' is None or absent, the files are correctly listed,
although without date or timestamp.last_commit access in Huggingface files1 parent 0ee5dad commit 237c512
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments