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

Add new column object: IterationSpeedColumn #3332

Merged
merged 9 commits into from
Sep 30, 2024

Conversation

chthollyphile
Copy link
Contributor

@chthollyphile chthollyphile commented Apr 15, 2024

Type of changes

  • Bug fix
  • New feature
  • Documentation / docstrings
  • Tests
  • Other

Checklist

  • I've run the latest black with default args on new code.
  • I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
  • I've added tests for new code.
  • I accept that @willmcgugan may be pedantic in the code review.

Description

This pull request addresses the requirement raised in discussion #926 to add a new column for the number of iterations per second.

@willmcgugan
Copy link
Collaborator

Looks good. I'd need tests for the new column. And an entry in the docs.

@chthollyphile
Copy link
Contributor Author

done.

@willmcgugan willmcgugan merged commit 1e48fb6 into Textualize:master Sep 30, 2024
2 of 4 checks passed
@willmcgugan
Copy link
Collaborator

Thanks

@willmcgugan
Copy link
Collaborator

Had to revert this PR I'm afraid. Assigning an attribute with setattr is a deal-breaker. It doesn't play well with static type checkers, and is best avoided. Can you not store the value on the Column object?

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