-
Notifications
You must be signed in to change notification settings - Fork 2
New Wrapping PR 4: Update all sinks to new wrapping system #366
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
Merged
bitterpanda63
merged 40 commits into
improved-wrapping-main
from
update-wrapping-to-wrapt-for-sinks
May 21, 2025
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
0e6d105
Create new process worker script and run it on context creation
bitterpanda63 b7d62b0
Cleanup of process_worker logic
bitterpanda63 5a2c49a
Refactor pymysql to use wrapt
bitterpanda63 d7bdd5b
Update subprocess patching
bitterpanda63 232e36b
pymysql patches change order
bitterpanda63 d0ffded
move back to bottom, python order for pymysql, subprocess
bitterpanda63 0556b8c
convert os_system patch
bitterpanda63 3f00178
pymongo convert code to wrapt code
bitterpanda63 663a9b8
convert mysqlclient
bitterpanda63 daf0a45
convert io module
bitterpanda63 d4d90a9
Convert shutil module
bitterpanda63 2d9f0b0
Convert asyncpg module
bitterpanda63 55e5a23
Convert builtins.py
bitterpanda63 7594b85
update existing modules
bitterpanda63 287a872
Update io module to use new system
bitterpanda63 66a3d68
Update both builtins.py and asyncpg.py to use the new patching system
bitterpanda63 05484d0
Cleanup checks for builtins and shutil
bitterpanda63 4adacba
linting for asyncpg.py
bitterpanda63 25433e2
Cleanup the patching module
bitterpanda63 50a6110
Convert os.py
bitterpanda63 df8369f
Update http_client.py sink, adding the @after
bitterpanda63 a16421f
Update psycopg sink
bitterpanda63 c38e38e
convert socket.py to new format
bitterpanda63 cd2dd51
Fix shutil and shutil test cases
bitterpanda63 0ed3aa2
Convert psycopg2 module
bitterpanda63 5ad3be2
Fix broken subprocess test cases
bitterpanda63 21bcae3
Exclude psycopg2 testing for python 3.13
bitterpanda63 88540bc
Make sure psycopg2.py implementation is the same as prev one
bitterpanda63 ceebbe0
Add extra tests for psycopg2 and fix issue for immutables
bitterpanda63 f0e3dcb
use assert_any_call for python 3.13
bitterpanda63 0655852
Patch os.path.realpath for python 3.13
bitterpanda63 db9f6c0
Fix packages log message coming up for packages that were not imported
bitterpanda63 b4cb720
Fix import mismatches for `@on_import`
bitterpanda63 5ab921a
Update aikido_zen/sinks/tests/psycopg2_test.py
bitterpanda63 51ddf71
Update aikido_zen/sinks/shutil.py
bitterpanda63 3085b34
Update aikido_zen/sinks/os.py
bitterpanda63 b3b4515
Remove @before wrapper in favour of parsing args,kwargs
bitterpanda63 3c93e77
Revert "Remove @before wrapper in favour of parsing args,kwargs"
bitterpanda63 8c600c3
Add comments to http_client
bitterpanda63 b4de0c4
Update psycopg2 comment
bitterpanda63 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.