Skip to content

Commit ac3711d

Browse files
committed
Change metadata to int
1 parent cb1a71c commit ac3711d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

singlestoredb/management/files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ def info(self, path: PathLike) -> FilesObject:
839839
"""
840840
res = self._manager._get(
841841
re.sub(r'/+$', r'/', f'files/fs/{self._location}/{path}'),
842-
params=dict(metadata=True),
842+
params=dict(metadata=1),
843843
).json()
844844

845845
return FilesObject.from_dict(res, self)

singlestoredb/management/workspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def info(self, stage_path: PathLike) -> FilesObject:
378378
"""
379379
res = self._manager._get(
380380
re.sub(r'/+$', r'/', f'stage/{self._deployment_id}/fs/{stage_path}'),
381-
params=dict(metadata=True),
381+
params=dict(metadata=1),
382382
).json()
383383

384384
return FilesObject.from_dict(res, self)

0 commit comments

Comments
 (0)