Skip to content

Commit

Permalink
refactor: remove pagination from analyze and stat queries
Browse files Browse the repository at this point in the history
Signed-off-by: Jongmin Kim <[email protected]>
  • Loading branch information
whdalsrnt committed Oct 20, 2024
1 parent 910a406 commit 52e91b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spaceone/cost_analysis/service/cost_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def list(self, params: dict) -> Union[CostsResponse, dict]:
["data_source_id", "user_projects", "workspace_id", "domain_id"]
)
@append_keyword_filter(["cost_id"])
@set_query_page_limit(1000)
# @set_query_page_limit(1000)
def analyze(self, params: dict) -> dict:
"""
Args:
Expand Down Expand Up @@ -293,7 +293,7 @@ def analyze(self, params: dict) -> dict:
["data_source_id", "workspace_id", "domain_id", "user_projects"]
)
@append_keyword_filter(["cost_id"])
@set_query_page_limit(1000)
# @set_query_page_limit(1000)
def stat(self, params):
"""
Args:
Expand Down

0 comments on commit 52e91b6

Please sign in to comment.