Skip to content

Commit

Permalink
💄
Browse files Browse the repository at this point in the history
  • Loading branch information
cbini committed Feb 15, 2022
1 parent 62614a0 commit 2e39614
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions powerschool/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ def get_query_expression(selector, start, end):


def generate_historical_queries(current_yearid, query_constraint_selector):
## transform yearid to constraint value
# transform yearid to constraint value
max_constraint_value = transform_yearid(current_yearid, query_constraint_selector)

## get step and stoppage critera for constraint type
# get step and stoppage critera for constraint type
constraint_rules = get_constraint_rules(query_constraint_selector, current_yearid)
stop_constraint_value = constraint_rules["stop"]
constraint_step_size = constraint_rules["step_size"]

## generate probing queries
# generate probing queries
working_constraint_value = max_constraint_value
probing_query_expressions = []
while working_constraint_value >= stop_constraint_value:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "powerschool"
version = "3.1.2"
version = "3.1.3"
description = "Python client for the PowerSchool API"
authors = [
{name = "Charlie Bini", email = "[email protected]"},
Expand Down

0 comments on commit 2e39614

Please sign in to comment.