Skip to content

ENH Set folded on model card add#361

Merged
adrinjalali merged 6 commits intoskops-dev:mainfrom
lazarust:ENH-set-folded-on-model-card-add
Jun 12, 2023
Merged

ENH Set folded on model card add#361
adrinjalali merged 6 commits intoskops-dev:mainfrom
lazarust:ENH-set-folded-on-model-card-add

Conversation

@lazarust
Copy link
Copy Markdown
Contributor

@lazarust lazarust commented May 31, 2023

Reference Issues/PRs

Fixes #360

What does this implement/fix? Explain your changes.

Adds the ability to set the folded property of a section when using model_card.add()

Any other comments?

This needs to wait until #341 is merged since it uses the folded property on Section.

@lazarust lazarust marked this pull request as ready for review June 2, 2023 00:39
@lazarust lazarust force-pushed the ENH-set-folded-on-model-card-add branch from c82f4d6 to cef3bd4 Compare June 2, 2023 00:44
Copy link
Copy Markdown
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise LGTM.

Comment thread skops/card/_model_card.py Outdated
@lazarust
Copy link
Copy Markdown
Contributor Author

@adrinjalali Sorry this took me a while, I've addressed your comment!

Copy link
Copy Markdown
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, other than the changelog LGTM.

Comment thread docs/changes.rst Outdated
Comment on lines +28 to +29
- Adds the abillity to set the :attr:`.Section.folded` property when using :meth:`.Card.add`.
:pr:`361` by :user:`Thomas Lazarus <lazarust>`.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please move to the 0.8 section, we just released 0.7.

@lazarust
Copy link
Copy Markdown
Contributor Author

@adrinjalali Sorry about that should be in the right spot now.

@adrinjalali adrinjalali merged commit 92a9610 into skops-dev:main Jun 12, 2023
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.

ENH Enable folding when calling model_card.add

2 participants