Skip to content

Commit a189472

Browse files
committed
versioned is False
1 parent ee96f2d commit a189472

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

pins/boards.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ def __init__(
6767
self.fs = fs
6868
self.meta_factory = meta_factory
6969

70-
if versioned is False:
71-
raise NotImplementedError()
70+
# if versioned is False:
71+
# raise NotImplementedError()
7272

7373
self.versioned = versioned
7474
self.allow_pickle_read = allow_pickle_read
@@ -93,6 +93,9 @@ def pin_versions(self, name: str, as_df: bool = True) -> Sequence[VersionRaw]:
9393
Pin name.
9494
9595
"""
96+
if self.versioned is False:
97+
raise NotImplementedError()
98+
9699
if not self.pin_exists(name):
97100
raise PinsError("Cannot check version, since pin %s does not exist" % name)
98101

@@ -351,6 +354,9 @@ def pin_write(
351354
part of the pin version name.
352355
"""
353356

357+
if versioned is False:
358+
raise NotImplementedError()
359+
354360
if type == "file":
355361
raise NotImplementedError(
356362
".pin_write() does not support type='file'. "

pins/constructors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def board_url(path: str, pin_paths: dict, cache=DEFAULT, allow_pickle_read=None)
399399
return BoardManual(
400400
path,
401401
fs,
402-
versioned=True,
402+
versioned=False,
403403
allow_pickle_read=allow_pickle_read,
404404
pin_paths=pin_paths,
405405
)

0 commit comments

Comments
 (0)