Skip to content

Commit

Permalink
remove limit in genericquery
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Corny authored and edelclaux committed May 29, 2024
1 parent f47d1c1 commit 2cc77d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion backend/gn_module_zh/blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,6 @@ def write_csv(id_zh):
tableName=blueprint.config[i]["table_name"],
schemaName=blueprint.config[i]["schema_name"],
filters={"id_zh": id_zh, "orderby": "id_zh"},
limit=100000,
)
# TODO: change for limit=-1 when the next version of Utils-Flask-SQLAlchemy will be released
results = query.return_query().get("items", [])
Expand Down
1 change: 0 additions & 1 deletion backend/gn_module_zh/hierarchy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,6 @@ def get_all_hierarchy_fields(id_rb: int):
tableName="all_rb_rules",
schemaName="pr_zh",
filters={"id_rb": id_rb, "orderby": "name"},
limit=100000,
)

results = query.return_query()
Expand Down

0 comments on commit 2cc77d6

Please sign in to comment.