qubership-pipelines-common-library 0.2.2__tar.gz → 0.2.4__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.
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/PKG-INFO +1 -1
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/pyproject.toml +1 -1
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/webex_client.py +4 -2
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/LICENSE +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/README.md +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/__init__.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/__init__.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/artifactory_client.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/execution/__init__.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/execution/exec_command.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/execution/exec_context.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/execution/exec_context_file.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/execution/exec_info.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/execution/exec_logger.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/git_client.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/github_client.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/gitlab_client.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/jenkins_client.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/kube_client.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/log_client.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/maven_client.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/minio_client.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/utils/__init__.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/utils/rest.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/utils/utils.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/utils/utils_aws.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/utils/utils_cli.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/utils/utils_context.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/utils/utils_dictionary.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/utils/utils_file.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/utils/utils_json.py +0 -0
- {qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/qubership_pipelines_common_library/v1/utils/utils_string.py +0 -0
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
import logging
|
|
16
16
|
from webexpythonsdk import WebexAPI
|
|
17
17
|
|
|
18
|
-
|
|
19
18
|
class WebexClient:
|
|
20
19
|
def __init__(self, bot_token: str, proxies: dict = None):
|
|
21
20
|
""" **`proxies`** dict for different protocols is passed to requests session.
|
|
@@ -58,7 +57,10 @@ class WebexClient:
|
|
|
58
57
|
start or reply to a thread.
|
|
59
58
|
**request_parameters: Additional request parameters (provides
|
|
60
59
|
support for parameters that may be added in the future).
|
|
60
|
+
Returns:
|
|
61
|
+
dict: The API response containing details of the created message.
|
|
61
62
|
"""
|
|
62
|
-
self.webex.messages.create(roomId=room_id, text=msg, files=[attachment_path] if attachment_path else None,
|
|
63
|
+
response = self.webex.messages.create(roomId=room_id, text=msg, files=[attachment_path] if attachment_path else None,
|
|
63
64
|
parentId=parent_id, toPersonId=to_person_id, toPersonEmail=to_person_email,
|
|
64
65
|
markdown=markdown, **request_parameters)
|
|
66
|
+
return response
|
{qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/LICENSE
RENAMED
|
File without changes
|
{qubership_pipelines_common_library-0.2.2 → qubership_pipelines_common_library-0.2.4}/README.md
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|