We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 239a181 commit 60ae570Copy full SHA for 60ae570
pins/drivers.py
@@ -125,6 +125,14 @@ def load_data(
125
try:
126
import rdata
127
128
+ # Can be removed once support for Python 3.8 is dropped.
129
+ # The issue is that the last `rdata` available on Python 3.8 was v0.9,
130
+ # which doesn'thave the same `rdata.read_rds()` function.
131
+ # See https://github.com/rstudio/pins-python/pull/265
132
+ if not hasattr(rdata, "read_rds"):
133
+ parsed = rdata.parser.parse_file(f)
134
+ rdata.conversion.convert(parsed)
135
+
136
return rdata.read_rds(f)
137
except ModuleNotFoundError:
138
raise ModuleNotFoundError(
0 commit comments