pjdev-gitlab 5.0.0__tar.gz → 5.0.2__tar.gz
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.
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/PKG-INFO +1 -1
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/__about__.py +1 -1
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/api_utilities.py +1 -1
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/config_service.py +3 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/models.py +1 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/test_report_pjdev-gitlab.txt +1 -1
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/.gitignore +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/LICENSE.txt +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/README.md +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/pyproject.toml +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/.agents/skills/pjdev_gitlab_issues/SKILL.md +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/.agents/skills/pjdev_gitlab_merge_requests/SKILL.md +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/.agents/skills/pjdev_gitlab_packages/SKILL.md +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/.agents/skills/pjdev_gitlab_repo_files/SKILL.md +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/__init__.py +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/issues_service.py +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/merge_requests_service.py +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/packages_service.py +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/py.typed +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/src/pjdev_gitlab/repo_files_service.py +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/test.sh +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/tests/__init__.py +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/tests/conftest.py +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/tests/tests_for_api_utilities.py +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/tests/tests_for_issues_service.py +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/tests/tests_for_merge_requests_service.py +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/tests/tests_for_models.py +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/tests/tests_for_packages_service.py +0 -0
- {pjdev_gitlab-5.0.0 → pjdev_gitlab-5.0.2}/tests/tests_for_repo_files_service.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pjdev-gitlab
|
|
3
|
-
Version: 5.0.
|
|
3
|
+
Version: 5.0.2
|
|
4
4
|
Project-URL: Documentation, https://gitlab.purplejay.io/keystone/python/-/tree/main/pjdev-gitlab/README.md
|
|
5
5
|
Project-URL: Issues, https://gitlab.purplejay.io/keystone/python/-/issues
|
|
6
6
|
Project-URL: Source, https://gitlab.purplejay.io/keystone/python
|
|
@@ -44,7 +44,7 @@ def get_http_client() -> httpx.AsyncClient:
|
|
|
44
44
|
return httpx.AsyncClient(
|
|
45
45
|
base_url=config.api_base_url,
|
|
46
46
|
auth=GitlabTokenAuth(config.token),
|
|
47
|
-
verify=ssl.create_default_context(),
|
|
47
|
+
verify=ssl.create_default_context() if config.verify_ssl else False,
|
|
48
48
|
timeout=config.request_timeout_seconds,
|
|
49
49
|
event_hooks={
|
|
50
50
|
"request": [log_request_headers],
|
|
@@ -21,6 +21,7 @@ def init(
|
|
|
21
21
|
http_retry_max_count: Optional[int] = None,
|
|
22
22
|
http_retry_delay_seconds: Optional[int] = None,
|
|
23
23
|
request_timeout_seconds: Optional[float] = None,
|
|
24
|
+
verify_ssl: Optional[bool] = None,
|
|
24
25
|
) -> None:
|
|
25
26
|
if env_path is not None:
|
|
26
27
|
Config.model_config = {**Config.model_config, "env_file": env_path}
|
|
@@ -40,6 +41,8 @@ def init(
|
|
|
40
41
|
kwargs["http_retry_delay_seconds"] = http_retry_delay_seconds
|
|
41
42
|
if request_timeout_seconds is not None:
|
|
42
43
|
kwargs["request_timeout_seconds"] = request_timeout_seconds
|
|
44
|
+
if verify_ssl is not None:
|
|
45
|
+
kwargs["verify_ssl"] = verify_ssl
|
|
43
46
|
|
|
44
47
|
config = Config(**kwargs)
|
|
45
48
|
|
|
@@ -33,4 +33,4 @@ tests/tests_for_repo_files_service.py::test_get_file_url_encoded PASSED [ 92%]
|
|
|
33
33
|
tests/tests_for_repo_files_service.py::test_download_file_writes_to_dest PASSED [ 96%]
|
|
34
34
|
tests/tests_for_repo_files_service.py::test_download_directory_walks_tree PASSED [100%]
|
|
35
35
|
|
|
36
|
-
============================== 25 passed in 1.
|
|
36
|
+
============================== 25 passed in 1.43s ==============================
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|