Skip to content

Commit

Permalink
temporarily disabled http2
Browse files Browse the repository at this point in the history
  • Loading branch information
arihant2math committed Oct 11, 2023
1 parent a1fb0d0 commit 89bc7ec
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
}


Expand Down
1 change: 0 additions & 1 deletion ftc_api/api/awards/get_v2_0_season_awards_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
}


Expand Down
1 change: 0 additions & 1 deletion ftc_api/api/awards/get_v_2_0_season_awards_event_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
}


Expand Down
1 change: 0 additions & 1 deletion ftc_api/api/awards/get_v_2_0_season_awards_team_number.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
"params": params,
}

Expand Down
1 change: 0 additions & 1 deletion ftc_api/api/general/get_v2_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
}


Expand Down
1 change: 0 additions & 1 deletion ftc_api/api/leagues/get_v2_0_season_leagues.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
"params": params,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
"params": params,
}

Expand Down
1 change: 0 additions & 1 deletion ftc_api/api/season_data/get_v2_0_season.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
}


Expand Down
1 change: 0 additions & 1 deletion ftc_api/api/season_data/get_v2_0_season_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
"params": params,
}

Expand Down
1 change: 0 additions & 1 deletion ftc_api/api/season_data/get_v2_0_season_teams.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
"params": params,
}

Expand Down
1 change: 0 additions & 1 deletion ftc_api/custom_templates/endpoint_module.py.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def _get_kwargs(
"headers": headers,
"cookies": cookies,
"timeout": client.get_timeout(),
"http2": client.http2,
{% if endpoint.form_body %}
"data": form_data.to_dict(),
{% elif endpoint.multipart_body %}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [
]
license = { file = "LICENSE" }
readme = "README.md"
version = "0.3.0"
version = "0.3.1"
dependencies = [
"httpx[http2]", "python-dateutil", "attrs"
]
Expand Down

0 comments on commit 89bc7ec

Please sign in to comment.