Skip to content

Commit

Permalink
Rename parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida committed Jul 10, 2024
1 parent 229fa1e commit bee3895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/security/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ def __init__(self, **kwargs: Any) -> None:
RoleModelView.related_views = []


def freeze_value(metric: Metric) -> str:
def freeze_value(value: Any) -> str:
"""
Used to compare column and metric sets.
"""
return json.dumps(metric, sort_keys=True)
return json.dumps(value, sort_keys=True)


def query_context_modified(query_context: "QueryContext") -> bool:
Expand Down

0 comments on commit bee3895

Please sign in to comment.