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 API to give number of views into table #2267

Merged
merged 1 commit into from
Jun 24, 2023

Conversation

sinistersnare
Copy link
Contributor

The test describes the usage.

Would it possibly be better so simply give a get_views method, that returns each View object? Then we could just call table.get_views().length.

Either way, happy to do it.

@sinistersnare
Copy link
Contributor Author

Killing this for now.

@sinistersnare
Copy link
Contributor Author

JK 😎

@sinistersnare sinistersnare reopened this Jun 22, 2023
@timkpaine
Copy link
Member

This should be symmetric in python

@sinistersnare sinistersnare force-pushed the feature/table-subscriber-count branch from 45a5a52 to 30df5e3 Compare June 23, 2023 13:41
@sinistersnare
Copy link
Contributor Author

Good call, added to the Python API.

Copy link
Member

@texodus texodus left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Looks good!

@@ -12,7 +12,6 @@
#![feature(lazy_cell)]
#![feature(macro_metavar_expr)]
#![feature(let_chains)]
#![feature(anonymous_lifetime_in_impl_trait)]
Copy link
Member

Choose a reason for hiding this comment

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

Whoops

@texodus texodus merged commit 392e5ea into finos:master Jun 24, 2023
@texodus texodus added the internal Internal refactoring and code quality improvement label Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Internal refactoring and code quality improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants