-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
335 changed files
with
17,131 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
data/v2/migration/aiohttp__httpx__itzkvn@python-http-monitoring__790a483.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
repo: itzkvn/python-http-monitoring | ||
commit: 790a4830785a2dd03686c57f5ec70a4bb1a41f22 | ||
source: aiohttp | ||
target: httpx | ||
commit_url: https://github.com/itzkvn/python-http-monitoring/commit/790a4830 | ||
domain: HTTP Clients | ||
files: | ||
- path: "app/targets.py" | ||
code_changes: | ||
- lines: ["10-11:9-10"] | ||
cardinality: not applicable | ||
source_program_elements: [import] | ||
target_program_elements: [import] | ||
properties: [] | ||
source_apis: [aiohttp.ClientSession, aiohttp.client_exceptions.ClientConnectorError] | ||
target_apis: [httpx, httpx.ConnectTimeout, httpx.ConnectError] | ||
- lines: ["53-55:52-55"] | ||
cardinality: one-to-many | ||
source_program_elements: [function call] | ||
target_program_elements: [function call, function call] | ||
properties: [element name change] | ||
source_apis: [get] | ||
target_apis: [get, AsyncClient] | ||
- lines: ["56:56"] | ||
cardinality: one-to-one | ||
source_program_elements: [attribute] | ||
target_program_elements: [attribute] | ||
properties: [element name change] | ||
source_apis: [status] | ||
target_apis: [status_code] | ||
- lines: ["57:57"] | ||
cardinality: one-to-one | ||
source_program_elements: [exception] | ||
target_program_elements: [exception] | ||
properties: [element name change] | ||
source_apis: [ClientConnectorError] | ||
target_apis: [ConnectError] | ||
- lines: ["60:60"] | ||
cardinality: one-to-one | ||
source_program_elements: [exception] | ||
target_program_elements: [exception] | ||
properties: [element name change] | ||
source_apis: [TimeoutError] | ||
target_apis: [ConnectTimeout] |
53 changes: 53 additions & 0 deletions
53
data/v2/migration/aiohttp__httpx__sk-415@harukabot__0611d16.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
repo: sk-415/harukabot | ||
commit: 0611d16a4cdc3f472b2c5fb265b8728e9a505d74 | ||
source: aiohttp | ||
target: httpx | ||
commit_url: https://github.com/sk-415/harukabot/commit/0611d16a | ||
domain: HTTP Clients | ||
files: | ||
- path: "src/plugins/haruka_bot/login.py" | ||
code_changes: | ||
- lines: ["1:6"] | ||
cardinality: not applicable | ||
source_program_elements: [import] | ||
target_program_elements: [import] | ||
properties: [] | ||
source_apis: [aiohttp] | ||
target_apis: [httpx] | ||
- lines: ["33:37-38", "37:44-45"] | ||
cardinality: one-to-many | ||
source_program_elements: [function call] | ||
target_program_elements: [function call, function call] | ||
properties: [argument deletion, element name change] | ||
source_apis: [request] | ||
target_apis: [get, AsyncClient] | ||
- lines: ["34:41", "38:47-48"] | ||
cardinality: one-to-many | ||
source_program_elements: [function call] | ||
target_program_elements: [attribute, function call] | ||
properties: [argument deletion, async transformation, element name change] | ||
source_apis: [json] | ||
target_apis: [encoding, json] | ||
- path: "src/plugins/haruka_bot/utils.py" | ||
code_changes: | ||
- lines: ["111:111-112"] | ||
cardinality: one-to-many | ||
source_program_elements: [function call] | ||
target_program_elements: [function call, function call] | ||
properties: [argument deletion, element name change] | ||
source_apis: [request] | ||
target_apis: [get, AsyncClient] | ||
- lines: ["112:113-114"] | ||
cardinality: one-to-many | ||
source_program_elements: [function call] | ||
target_program_elements: [attribute, function call] | ||
properties: [argument deletion, async transformation, element name change] | ||
source_apis: [json] | ||
target_apis: [encoding, json] | ||
- lines: ["11:11"] | ||
cardinality: not applicable | ||
source_program_elements: [import] | ||
target_program_elements: [import] | ||
properties: [] | ||
source_apis: [aiohttp] | ||
target_apis: [httpx] |
30 changes: 30 additions & 0 deletions
30
data/v2/migration/aiohttp__httpx__snwmds@polemicbooksapi__69df530.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
repo: snwmds/polemicbooksapi | ||
commit: 69df5304ad4280033c0a01ac6631e69ba276d973 | ||
source: aiohttp | ||
target: httpx | ||
commit_url: https://github.com/snwmds/polemicbooksapi/commit/69df5304 | ||
domain: HTTP Clients | ||
files: | ||
- path: "application.py" | ||
code_changes: | ||
- lines: ["1337:1337"] | ||
cardinality: one-to-one | ||
source_program_elements: [function call] | ||
target_program_elements: [function call] | ||
properties: [argument addition, element name change] | ||
source_apis: [get] | ||
target_apis: [stream] | ||
- lines: ["16:16"] | ||
cardinality: not applicable | ||
source_program_elements: [import] | ||
target_program_elements: [import] | ||
properties: [] | ||
source_apis: [aiohttp] | ||
target_apis: [httpx] | ||
- lines: ["2590-2592:2590"] | ||
cardinality: many-to-one | ||
source_program_elements: [function call, function call, function call] | ||
target_program_elements: [function call] | ||
properties: [argument addition, argument deletion, element name change] | ||
source_apis: [AsyncResolver, ClientSession, TCPConnector] | ||
target_apis: [AsyncClient] |
58 changes: 58 additions & 0 deletions
58
data/v2/migration/argparse__click__achalddave@segment-any-moving__87160d0.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
repo: achalddave/segment-any-moving | ||
commit: 87160d02c8652eebf2d8a5dce572e26fa2d1ca61 | ||
source: argparse | ||
target: click | ||
commit_url: https://github.com/achalddave/segment-any-moving/commit/87160d02 | ||
domain: Utility | ||
files: | ||
- path: "flow/compute_flow_sequences.py" | ||
code_changes: | ||
- lines: ["267-269:"] | ||
cardinality: one-to-zero | ||
source_program_elements: [function call] | ||
target_program_elements: [] | ||
properties: [] | ||
source_apis: [ArgumentParser] | ||
target_apis: [] | ||
- lines: ["270-273:25-28", "274:29", "284:41", "291-299:48-56"] | ||
cardinality: one-to-one | ||
source_program_elements: [function call] | ||
target_program_elements: [decorator] | ||
properties: [element name change, parameter addition to decorated function] | ||
source_apis: [add_argument] | ||
target_apis: [option] | ||
- lines: ["275-276:30-33"] | ||
cardinality: one-to-many | ||
source_program_elements: [function call] | ||
target_program_elements: [decorator, function call] | ||
properties: [argument name change, argument transformation, element name change, parameter addition to decorated function] | ||
source_apis: [add_argument] | ||
target_apis: [option, Choice] | ||
- lines: ["277-283:34-40"] | ||
cardinality: one-to-one | ||
source_program_elements: [function call] | ||
target_program_elements: [decorator] | ||
properties: [argument transformation, element name change, parameter addition to decorated function] | ||
source_apis: [add_argument] | ||
target_apis: [option] | ||
- lines: ["285-289:42-46"] | ||
cardinality: one-to-one | ||
source_program_elements: [function call] | ||
target_program_elements: [decorator] | ||
properties: [argument addition, argument deletion, argument transformation, element name change, parameter addition to decorated function] | ||
source_apis: [add_argument] | ||
target_apis: [option] | ||
- lines: ["290:47"] | ||
cardinality: one-to-one | ||
source_program_elements: [function call] | ||
target_program_elements: [decorator] | ||
properties: [argument deletion, argument transformation, element name change, parameter addition to decorated function] | ||
source_apis: [add_argument] | ||
target_apis: [option] | ||
- lines: ["3:3"] | ||
cardinality: not applicable | ||
source_program_elements: [import] | ||
target_program_elements: [import] | ||
properties: [] | ||
source_apis: [argparse] | ||
target_apis: [click] |
44 changes: 44 additions & 0 deletions
44
data/v2/migration/argparse__click__adithyabsk@keep2roam__d340eea.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
repo: adithyabsk/keep2roam | ||
commit: d340eea2fdedde8908334eda34325d058fc88282 | ||
source: argparse | ||
target: click | ||
commit_url: https://github.com/adithyabsk/keep2roam/commit/d340eea2 | ||
domain: Utility | ||
files: | ||
- path: "convert.py" | ||
code_changes: | ||
- lines: ["3:6"] | ||
cardinality: not applicable | ||
source_program_elements: [import] | ||
target_program_elements: [import] | ||
properties: [] | ||
source_apis: [argparse] | ||
target_apis: [click] | ||
- lines: ["49-51:"] | ||
cardinality: one-to-zero | ||
source_program_elements: [function call] | ||
target_program_elements: [] | ||
properties: [] | ||
source_apis: [ArgumentParser] | ||
target_apis: [] | ||
- lines: ["52-56:60", "57-61:61"] | ||
cardinality: one-to-many | ||
source_program_elements: [function call] | ||
target_program_elements: [decorator, function call] | ||
properties: [argument transformation, element name change, parameter addition to decorated function] | ||
source_apis: [add_argument] | ||
target_apis: [argument, Path] | ||
- lines: ["62:"] | ||
cardinality: one-to-zero | ||
source_program_elements: [function call] | ||
target_program_elements: [] | ||
properties: [] | ||
source_apis: [parse_args] | ||
target_apis: [] | ||
- lines: [":59"] | ||
cardinality: zero-to-one | ||
source_program_elements: [] | ||
target_program_elements: [decorator] | ||
properties: [] | ||
source_apis: [] | ||
target_apis: [command] |
Oops, something went wrong.