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

fix: better counting without under_review and dictionaries #725

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

rdahis
Copy link
Member

@rdahis rdahis commented Dec 9, 2024

Consertando nossas contagens a nível de conjunto para esconder direto tabelas com status=under_review e dicionários.

@rdahis rdahis requested a review from laura-l-amaral December 9, 2024 02:59
@rdahis rdahis self-assigned this Dec 9, 2024
@rdahis rdahis added the bug Something isn't working label Dec 9, 2024
@@ -652,7 +652,7 @@ def entities(self) -> list[dict]:
def contains_open_data(self):
"""Returns true if there are tables or columns with open coverages"""
open_data = False
tables = self.tables.all()
tables = self.tables.exclude(status__slug="under_review").exclude(slug="dicionario").all()
Copy link
Contributor

Choose a reason for hiding this comment

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

incluir dictionarycomo slug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants