Skip to content

Commit

Permalink
Remove forgotten code piece
Browse files Browse the repository at this point in the history
  • Loading branch information
bugraoz93 committed Dec 22, 2024
1 parent 8cd110d commit e4f55fa
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions airflow/api_fastapi/common/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,6 @@ def inner(order_by: str = default or self.get_primary_key_string()) -> SortParam

return inner

def depends_factory(self, default: str | None = None) -> Callable:
def dynamic_callable_depends(default_value: str | None = None) -> Callable:
def inner(order_by: str = default or self.get_primary_key_string()) -> SortParam:
return self.set_value(self.get_primary_key_string() if order_by == "" else order_by)

return inner

return dynamic_callable_depends


class FilterOptionEnum(Enum):
"""Filter options for FilterParam."""
Expand Down

0 comments on commit e4f55fa

Please sign in to comment.