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

Exports can be filtered by prefix #1237

Merged
merged 2 commits into from
Aug 28, 2024
Merged

Exports can be filtered by prefix #1237

merged 2 commits into from
Aug 28, 2024

Conversation

kazet
Copy link
Member

@kazet kazet commented Aug 27, 2024

No description provided.

return list(session.query(ReportGenerationTask).order_by(ReportGenerationTask.created_at.desc()))
query = session.query(ReportGenerationTask)
if tag_prefix:
if "%" in tag_prefix:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't get it, why are making % operator as not implemented and then using it for query 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

I mark % as not implemented if someone provided % in their tag prefix

@kazet kazet merged commit e4a720b into main Aug 28, 2024
4 checks passed
@kazet kazet deleted the exports-filtered-prefix branch August 28, 2024 07:17
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