Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
rjambrecic committed Sep 30, 2024
1 parent f24dbc1 commit fdf464b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def create_client(openapi_url: str) -> OpenAPI:
with httpx.Client() as httpx_client:
with httpx.Client() as httpx_client: # nosec [B113]
response = httpx_client.get(openapi_url)
response.raise_for_status()
openapi_spec = response.text
Expand Down
4 changes: 2 additions & 2 deletions google_ads/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,15 @@ async def login_callback(
"grant_type": "authorization_code",
}

async with httpx.AsyncClient() as client:
async with httpx.AsyncClient() as client: # nosec [B113]
response = await client.post(
oauth2_settings["tokenUrl"], data=token_request_data
)

if response.status_code == 200:
token_data = response.json()

async with httpx.AsyncClient() as client:
async with httpx.AsyncClient() as client: # nosec [B113]
userinfo_response = await client.get(
"https://www.googleapis.com/oauth2/v2/userinfo",
headers={"Authorization": f"Bearer {token_data['access_token']}"},
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ lint = [
"isort>=5",
"ruff==0.6.4",
"pyupgrade-directories",
"bandit==1.7.9",
"bandit==1.7.10",
"semgrep==1.78.0",
"pre-commit==3.8.0",
"detect-secrets==1.5.0",
]

test-core = [
"coverage[toml]==7.6.0",
"coverage[toml]==7.6.1",
"pytest==8.3.3",
"pytest-asyncio>=0.23.6",
"dirty-equals==0.8.0",
Expand All @@ -94,12 +94,12 @@ agents = [
"prisma==0.13.1",
"google-ads==25.0.0",
"httpx==0.27.0",
"uvicorn==0.30.6",
"uvicorn==0.31.0",
"python-dotenv==1.0.1",
"pyautogen[websurfer,websockets,anthropic,together]==0.2.35",
"pandas>=2.1",
"fastcore==1.7.4",
"pydantic==2.8.2",
"pydantic==2.9.2",
"tenacity==9.0.0",
"prometheus-client==0.21.0",
"opentelemetry-distro==0.48b0",
Expand All @@ -110,7 +110,7 @@ agents = [
"aiofiles==24.1.0",
"fastagency[studio,openapi]==0.1.0",
"markdownify==0.13.1",
"python-multipart==0.0.10",
"python-multipart==0.0.12",
"flaml==2.2.0",
]

Expand Down

0 comments on commit fdf464b

Please sign in to comment.