Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: Pass arguments to http client #554

Merged
merged 15 commits into from
Nov 21, 2024
Merged

FEAT: Pass arguments to http client #554

merged 15 commits into from
Nov 21, 2024

Conversation

AlexRRR
Copy link
Contributor

@AlexRRR AlexRRR commented Nov 13, 2024

Description

Make httpx.AsyncClient configurable by passing the kwargs from the HTTPTarget constructor.

Note: I’m not entirely sure about the documentation; I’ve just added a comment in the example.

#553

@AlexRRR
Copy link
Contributor Author

AlexRRR commented Nov 13, 2024

It seems i need to shave some yaks on my side before signing the CLA. Will sign ASAP

Copy link
Contributor

@rlundeen2 rlundeen2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this, thank you for adding it @AlexRRR!

@rlundeen2
Copy link
Contributor

It seems i need to shave some yaks on my side before signing the CLA. Will sign ASAP

Let us know! Everything else looks good :)

Copy link
Contributor

@romanlutz romanlutz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! I just have a small nitpicky comment regarding typing.

pyrit/prompt_target/http_target/http_target.py Outdated Show resolved Hide resolved
@AlexRRR
Copy link
Contributor Author

AlexRRR commented Nov 16, 2024

@microsoft-github-policy-service agree company="Adobe"

@rlundeen2 rlundeen2 merged commit 94dd4ec into Azure:main Nov 21, 2024
9 checks passed
romanlutz added a commit to romanlutz/PyRIT that referenced this pull request Nov 25, 2024
Co-authored-by: Raja Sekhar Rao Dheekonda <[email protected]>
Co-authored-by: rdheekonda <[email protected]>
Co-authored-by: Roman Lutz <[email protected]>
Co-authored-by: Volkan Kutal <[email protected]>
Co-authored-by: rlundeen2 <[email protected]>
Co-authored-by: rlundeen2 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants