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

Exposure updated format #175

Conversation

elongl
Copy link
Contributor

@elongl elongl commented Sep 1, 2023

No description provided.

for exposure in list({m for m in self.models_exposed})
if exposure.upper() in refable_models
],
"depends_on": list(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Deduping in case a dashboard has two views on the same table.

Copy link
Owner

@gouline gouline left a comment

Choose a reason for hiding this comment

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

Revert all irrelevant changes, provide a description for the PR explaining what you're doing any why, and run checks/tests locally before pushing, to speed up the process, since I have to manually approve CI runs for new contributors.

@@ -645,7 +645,6 @@ def increase_indent(self, flow=False, indentless=False):
parsed_exposures = []

for collection in self.collections:

Copy link
Owner

Choose a reason for hiding this comment

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

Revert irrelevant changes.

@gouline gouline changed the base branch from master to exposure-updated-format October 5, 2023 23:51
@gouline gouline merged commit 6318d81 into gouline:exposure-updated-format Oct 5, 2023
1 check failed
@gouline gouline mentioned this pull request Oct 6, 2023
gouline added a commit that referenced this pull request Oct 6, 2023
* Exposure updated format (#175)

* Changed exposure format (lowercased name, deduped depends_on).

* Change where the lowercasing happens.

* Hyphens are no longer allowed.

* Updated comment.

* Revert useless formatting

* Set comprehension for deduping

* Lowercase all exposure names in tests

---------

Co-authored-by: Elon Gliksberg <[email protected]>
@elongl elongl deleted the exposure-updated-format branch October 11, 2023 07:21
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