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: apply Time Grain to X-Axis column #21163

Merged
merged 27 commits into from
Sep 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename
  • Loading branch information
zhaoyongjie committed Sep 2, 2022
commit d450d2d6397af27aec45ba97975d51d01b4e6cdd
2 changes: 1 addition & 1 deletion superset/utils/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ def is_adhoc_column(column: Column) -> TypeGuard[AdhocColumn]:
return isinstance(column, dict)


def get_axis_column(columns: Optional[List[Column]]) -> Optional[AdhocColumn]:
def get_base_axis_column(columns: Optional[List[Column]]) -> Optional[AdhocColumn]:
if columns is None:
return None
axis_cols = [
Expand Down