yeonjae-universal-http-api-client 1.0.1__py3-none-any.whl → 1.0.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {universal_http_api_client → yeonjae_universal_http_api_client}/client.py +6 -16
- {yeonjae_universal_http_api_client-1.0.1.dist-info → yeonjae_universal_http_api_client-1.0.5.dist-info}/METADATA +3 -3
- yeonjae_universal_http_api_client-1.0.5.dist-info/RECORD +11 -0
- yeonjae_universal_http_api_client-1.0.5.dist-info/top_level.txt +1 -0
- yeonjae_universal_http_api_client-1.0.1.dist-info/RECORD +0 -11
- yeonjae_universal_http_api_client-1.0.1.dist-info/top_level.txt +0 -1
- {universal_http_api_client → yeonjae_universal_http_api_client}/__init__.py +0 -0
- {universal_http_api_client → yeonjae_universal_http_api_client}/adapters.py +0 -0
- {universal_http_api_client → yeonjae_universal_http_api_client}/exceptions.py +0 -0
- {universal_http_api_client → yeonjae_universal_http_api_client}/models.py +0 -0
- {universal_http_api_client → yeonjae_universal_http_api_client}/py.typed +0 -0
- {universal_http_api_client → yeonjae_universal_http_api_client}/utils.py +0 -0
- {yeonjae_universal_http_api_client-1.0.1.dist-info → yeonjae_universal_http_api_client-1.0.5.dist-info}/WHEEL +0 -0
@@ -358,8 +358,9 @@ class HTTPAPIClient:
|
|
358
358
|
# 입력 로깅
|
359
359
|
self.io_logger.log_input(
|
360
360
|
"get_commit",
|
361
|
-
|
362
|
-
|
361
|
+
repo_name=repo_name,
|
362
|
+
commit_sha=commit_sha,
|
363
|
+
platform=self.platform.value
|
363
364
|
)
|
364
365
|
|
365
366
|
try:
|
@@ -376,14 +377,8 @@ class HTTPAPIClient:
|
|
376
377
|
# 출력 로깅
|
377
378
|
self.io_logger.log_output(
|
378
379
|
"get_commit",
|
379
|
-
|
380
|
-
|
381
|
-
"platform": self.platform.value,
|
382
|
-
"status_code": response.status_code,
|
383
|
-
"success": response.success,
|
384
|
-
"commit_sha": commit_sha,
|
385
|
-
"files_changed": len(response.data.get("files", [])) if response.data else 0
|
386
|
-
}
|
380
|
+
result=response.data,
|
381
|
+
execution_time=response.response_time
|
387
382
|
)
|
388
383
|
|
389
384
|
return response
|
@@ -392,12 +387,7 @@ class HTTPAPIClient:
|
|
392
387
|
# 오류 로깅
|
393
388
|
self.io_logger.log_error(
|
394
389
|
"get_commit",
|
395
|
-
e
|
396
|
-
metadata={
|
397
|
-
"platform": self.platform.value,
|
398
|
-
"repo_name": repo_name,
|
399
|
-
"commit_sha": commit_sha
|
400
|
-
}
|
390
|
+
e
|
401
391
|
)
|
402
392
|
raise
|
403
393
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: yeonjae-universal-http-api-client
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.5
|
4
4
|
Summary: Universal HTTP API client supporting GitHub, GitLab, Bitbucket and other platforms
|
5
5
|
Author-email: "CodePing.AI Team" <contact@codeping.ai>
|
6
6
|
License: MIT
|
@@ -53,13 +53,13 @@ Universal HTTP API client with platform-specific adapters for GitHub, GitLab, Sl
|
|
53
53
|
## Installation
|
54
54
|
|
55
55
|
```bash
|
56
|
-
pip install universal-http-api-client
|
56
|
+
pip install yeonjae-universal-http-api-client
|
57
57
|
```
|
58
58
|
|
59
59
|
## Quick Start
|
60
60
|
|
61
61
|
```python
|
62
|
-
from
|
62
|
+
from yeonjae_universal_http_api_client import HTTPAPIClient, Platform
|
63
63
|
|
64
64
|
# GitHub API
|
65
65
|
client = HTTPAPIClient(Platform.GITHUB, "your-token")
|
@@ -0,0 +1,11 @@
|
|
1
|
+
yeonjae_universal_http_api_client/__init__.py,sha256=sSioVC1Alh4IBNijvZiEShy8mbh3Xdqimnq5m1F--nI,1056
|
2
|
+
yeonjae_universal_http_api_client/adapters.py,sha256=S_5zyH6NIy-dg_w7v1EMLPBi_KrIRixFMPRxELLZfLc,11699
|
3
|
+
yeonjae_universal_http_api_client/client.py,sha256=dapwvt8LTzRSMQpypR2EOlcJcY7Q_-W10zLjnrQDTu0,21280
|
4
|
+
yeonjae_universal_http_api_client/exceptions.py,sha256=uuABwSQIMnHL92Rdo4Ojw4BNYEfERNsQnVICVzW5tec,5848
|
5
|
+
yeonjae_universal_http_api_client/models.py,sha256=FaOQUitSBEuzbO6KXNiNRqGpYctWX-bBtN2bQB47224,5162
|
6
|
+
yeonjae_universal_http_api_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
+
yeonjae_universal_http_api_client/utils.py,sha256=PV3Xv-9VOc3OJ9vXHKsVagKOXbE1H66OyOvehHX1gp0,1407
|
8
|
+
yeonjae_universal_http_api_client-1.0.5.dist-info/METADATA,sha256=wCqv4pKJc1iYS_G0BHqljTXlf6LKeW3h_zuHbi98VWA,2914
|
9
|
+
yeonjae_universal_http_api_client-1.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
10
|
+
yeonjae_universal_http_api_client-1.0.5.dist-info/top_level.txt,sha256=Bsh8blAILwlOT-35XvjJDDdlKVlSFjIWDGDQQm6fEkk,34
|
11
|
+
yeonjae_universal_http_api_client-1.0.5.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
yeonjae_universal_http_api_client
|
@@ -1,11 +0,0 @@
|
|
1
|
-
universal_http_api_client/__init__.py,sha256=sSioVC1Alh4IBNijvZiEShy8mbh3Xdqimnq5m1F--nI,1056
|
2
|
-
universal_http_api_client/adapters.py,sha256=S_5zyH6NIy-dg_w7v1EMLPBi_KrIRixFMPRxELLZfLc,11699
|
3
|
-
universal_http_api_client/client.py,sha256=lq9jFsO5bku4kkTT0VnqEi5GP2Zx9xqsoeOvk-YlfZQ,21774
|
4
|
-
universal_http_api_client/exceptions.py,sha256=uuABwSQIMnHL92Rdo4Ojw4BNYEfERNsQnVICVzW5tec,5848
|
5
|
-
universal_http_api_client/models.py,sha256=FaOQUitSBEuzbO6KXNiNRqGpYctWX-bBtN2bQB47224,5162
|
6
|
-
universal_http_api_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
-
universal_http_api_client/utils.py,sha256=PV3Xv-9VOc3OJ9vXHKsVagKOXbE1H66OyOvehHX1gp0,1407
|
8
|
-
yeonjae_universal_http_api_client-1.0.1.dist-info/METADATA,sha256=NkYCWrCWs5R5oEkWPqX4kNsQ2hLVfLawF8EI0HeAdNw,2898
|
9
|
-
yeonjae_universal_http_api_client-1.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
10
|
-
yeonjae_universal_http_api_client-1.0.1.dist-info/top_level.txt,sha256=eiCeozAaUmZUn2d3cu5PPa3fJShjaa1SsxU9wnBmAiI,26
|
11
|
-
yeonjae_universal_http_api_client-1.0.1.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
universal_http_api_client
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|