Skip to content

Release 0.1.36: %dds list and get (ref #309773) - #106

Merged
oskaresparza merged 5 commits into
mainfrom
staging
Oct 21, 2026
Merged

oskaresparza merged 5 commits into
mainfrom
staging

Conversation

@oskaresparza

Copy link
Copy Markdown
Collaborator

Releases staging (0.1.36) to main. Ref #309773.

  • %dds list(folder, pattern=None, path=None). Shows the file names in a DDS document folder (by default the %catalog use context), sorted. pattern is an optional filter: a wildcard, an extension, text in the name, or a list of these. It uses DDS's listing route, GET /api/v1/files/{folder}/, page by page.
  • %dds get(folder, filename, path=None, output_dir=None, overwrite=True). Downloads one file into the notebook's folder and returns the local file. A missing file is a short error.
  • Folder errors. A wrong, quoted or missing folder lists the valid DdsFolder values in push, list, get and target.
  • exists() uses HEAD instead of downloading the file.

Merged into staging through #104 and #105.

oskaresparza and others added 5 commits October 21, 2026 14:43
…or, ref #309773

- list(folder, pattern=None, path=None): the file names in a DDS folder,
  sorted; pattern filters by wildcard, extension or text, or a list of them.
  Uses DDS's real listing route, GET /api/v1/files/{folder}/, page by page.
- get(folder, filename, path=None, output_dir=None, overwrite=True): download
  one file into the notebook's folder and return the local file; a missing
  file is a short error.
- A wrong, quoted or missing folder names the valid DdsFolder values in push,
  list, get and target, including a misspelt bare name in %dds.
- exists() uses HEAD instead of downloading the file.

Redmine-Hook: v1
%dds list and get, and valid folders in every folder error (ref #309773)
%dds list and get, and valid folders in every folder error (ref #309773)
@oskaresparza
oskaresparza merged commit 7a83174 into main Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant