Skip to content

Commit

Permalink
fix: set aiohttp to 3.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Lash-L committed Feb 7, 2023
1 parent 0e4afd7 commit dd0f876
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ packages = [

[tool.poetry.dependencies]
python = "^3.7"
aiohttp = "^3.8.3"
aiohttp = "^3.8.1"

[tool.poetry.group.dev.dependencies]
pytest = "^7.0"
Expand Down
1 change: 1 addition & 0 deletions src/southern_company_api/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ async def get_hourly_data(
cur_date = cur_date + datetime.timedelta(days=35)
return return_data
async with aiohttp.ClientSession() as session:
# Needs to check if the data already exist in self.hourly_data to avoid making an unneeded call.
headers = {"Authorization": f"bearer {jwt}"}
params = {
"accountNumber": self.number,
Expand Down

0 comments on commit dd0f876

Please sign in to comment.