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

feat: Add containedInDataset boolean field to gql Spans #4015

Merged
merged 3 commits into from
Jul 25, 2024

Conversation

anticorrelator
Copy link
Contributor

resolves #3992

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jul 25, 2024
self._db = db

async def _load_fn(self, keys: List[Key]) -> List[Result]:
span_ids = keys
Copy link
Contributor

Choose a reason for hiding this comment

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

We've been using rowid for disambiguation (so the reader doesn't need a double take) since span_id is usually thought of as str.

Suggested change
span_ids = keys
span_rowids = keys

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh gotcha, makes sense!

@anticorrelator anticorrelator merged commit 3c096ca into main Jul 25, 2024
12 checks passed
@anticorrelator anticorrelator deleted the dustin/add-contained-in-dataset-check-to-spans branch July 25, 2024 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[annotations][gql] contained_in_dataset boolean
2 participants