Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Doc update #374

Open
wants to merge 33 commits into
base: main
Choose a base branch
from
Open

Draft: Doc update #374

wants to merge 33 commits into from

Conversation

tgkolda
Copy link

@tgkolda tgkolda commented Dec 28, 2024

Working on various documentation updates. This already has PR #373 embedded, so I'll need to clean it up once that PRs are merged.


📚 Documentation preview 📚: https://pyttb--374.org.readthedocs.build/en/374/

pyttb/tensor.py Outdated
Comment on lines 82 to 83
copy : optional bool
Whether to copy the data or reference it (default: True).
Copy link
Collaborator

Choose a reason for hiding this comment

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

Global note: To hopefully avoid wasted effort.

The type hints already capture a most of the additions on these two lines and the type hints can be programmatically verified to make sure they are correct. In the help/generated documentation/ide support these should already be reflected. Both the fact that it is a bool with a default the specified default value.

If that's not coming up on your workflow could you create a discussion with details about how you are interacting with things? I'd like a significant motivation to duplicate information in a way that is more error prone.

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.

2 participants