Skip to content

Document Card.save's copy_files argument under its own name - #565

Open
VenishPaneliya wants to merge 1 commit into
skops-dev:mainfrom
VenishPaneliya:docs-card-save-copy-files
Open

VenishPaneliya wants to merge 1 commit into
skops-dev:mainfrom
VenishPaneliya:docs-card-save-copy-files

Conversation

@VenishPaneliya

Copy link
Copy Markdown

Reference Issues/PRs

Follow-up to #330.

What does this implement/fix? Explain your changes.

Card.save's Parameters section documents plot_path, but the signature is save(self, path, copy_files=False) — #330 added the argument as the boolean copy_files while the docstring kept the earlier plot_path name. The description already described what copy_files does, so this renames the entry and adjusts it from path wording to flag wording.

The method is rendered through automodule:: skops.card :members: in docs/modules/classes.rst, so copy_files is currently undocumented there while a non-existent plot_path is listed.

Docstring only. Happy to add a docs/changes.rst entry if you'd like one for a docs fix.

The Parameters section still lists plot_path, which was the name
proposed before the argument landed as the boolean copy_files in skops-dev#330.
The description matched what copy_files does, so only the name and the
flag wording needed correcting.

This branch has not been deployed

No deployments
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